tgrid
Version:
Grid Computing Framework for TypeScript
17 lines (16 loc) • 436 B
TypeScript
/**
* Web Socket Error.
*
* @reference https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
* @author Jeongho Nam - https://github.com/samchon
*/
export declare class WebSocketError extends Error {
readonly status: number;
/**
* Initializer Constructor.
*
* @param status Status code.
* @param message Detailed message, the reason why.
*/
constructor(status: number, message: string);
}