declare class Exception extends Error { constructor(message?: string); } declare class BadResource extends Exception { constructor(msg: any); } declare class Interrupted extends Exception { constructor(msg: any); } declare class NotFound extends Exception { constructor(msg: any); } declare class PermissionDenied extends Exception { constructor(msg: any); } declare class ConnectionRefused extends Exception { constructor(msg: any); } declare class ConnectionReset extends Exception { constructor(msg: any); } declare class ConnectionAborted extends Exception { constructor(msg: any); } declare class NotConnected extends Exception { constructor(msg: any); } declare class AddrInUse extends Exception { constructor(msg: any); } declare class AddrNotAvailable extends Exception { constructor(msg: any); } declare class BrokenPipe extends Exception { constructor(msg: any); } declare class AlreadyExists extends Exception { constructor(msg: any); } declare class InvalidData extends Exception { constructor(msg: any); } declare class TimedOut extends Exception { constructor(msg: any); } declare class WriteZero extends Exception { constructor(msg: any); } declare class UnexpectedEof extends Exception { constructor(msg: any); } declare class Http extends Exception { constructor(msg: any); } declare class Busy extends Exception { constructor(msg: any); } declare class NotSupported extends Exception { constructor(msg: any); } declare const errors: { NotFound: typeof NotFound; PermissionDenied: typeof PermissionDenied; ConnectionRefused: typeof ConnectionRefused; ConnectionReset: typeof ConnectionReset; ConnectionAborted: typeof ConnectionAborted; NotConnected: typeof NotConnected; AddrInUse: typeof AddrInUse; AddrNotAvailable: typeof AddrNotAvailable; BrokenPipe: typeof BrokenPipe; AlreadyExists: typeof AlreadyExists; InvalidData: typeof InvalidData; TimedOut: typeof TimedOut; Interrupted: typeof Interrupted; WriteZero: typeof WriteZero; UnexpectedEof: typeof UnexpectedEof; BadResource: typeof BadResource; Http: typeof Http; Busy: typeof Busy; NotSupported: typeof NotSupported; }; export { errors };