UNPKG

737 BTypeScriptView Raw
1import { ApplicationException } from './ApplicationException';
2/**
3 * Errors raised by conflicts between object versions that were
4 * posted by the user and those that are stored on the server.
5 */
6export declare class ConflictException extends ApplicationException {
7 /**
8 * Creates an error instance and assigns its values.
9 *
10 * @param correlation_id (optional) a unique transaction id to trace execution through call chain.
11 * @param code (optional) a unique error code. Default: "UNKNOWN"
12 * @param message (optional) a human-readable description of the error.
13 *
14 * @see [[ErrorCategory]]
15 */
16 constructor(correlation_id?: string, code?: string, message?: string);
17}