1 | import { ApplicationException } from './ApplicationException';
|
2 | /**
|
3 | * Errors due to improper user requests.
|
4 | *
|
5 | * For example: missing or incorrect parameters.
|
6 | */
|
7 | export declare class BadRequestException extends ApplicationException {
|
8 | /**
|
9 | * Creates an error instance and assigns its values.
|
10 | *
|
11 | * @param correlation_id (optional) a unique transaction id to trace execution through call chain.
|
12 | * @param code (optional) a unique error code. Default: "UNKNOWN"
|
13 | * @param message (optional) a human-readable description of the error.
|
14 | *
|
15 | * @see [[ErrorCategory]]
|
16 | */
|
17 | constructor(correlation_id?: string, code?: string, message?: string);
|
18 | }
|