pip-services3-commons-node
Version:
Portable abstractions and patterns for Pip.Services in Node.js
18 lines (17 loc) • 762 B
TypeScript
import { ApplicationException } from './ApplicationException';
/**
* Errors that occur during connections to remote services.
* They can be related to misconfiguration, network issues, or the remote service itself.
*/
export declare class ConnectionException extends ApplicationException {
/**
* Creates an error instance and assigns its values.
*
* @param correlation_id (optional) a unique transaction id to trace execution through call chain.
* @param code (optional) a unique error code. Default: "UNKNOWN"
* @param message (optional) a human-readable description of the error.
*
* @see [[ErrorCategory]]
*/
constructor(correlation_id?: string, code?: string, message?: string);
}