ProtocolError: {
prototype: ProtocolError;
new (code: string, message: string, details?: unknown): ProtocolError;
}
Type Declaration
-
- new (code: string, message: string, details?: unknown): ProtocolError
-
Parameters
- code: string
- message: string
Optionaldetails: unknown
Returns ProtocolError
-
Readonlyprototype: ProtocolError