1 | import { ApplicationException } from './ApplicationException';
|
2 | /**
|
3 | * Errors that occur during connections to remote services.
|
4 | * They can be related to misconfiguration, network issues, or the remote service itself.
|
5 | */
|
6 | export declare class ConnectionException 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 | }
|