CodecError
Hierarchy
- Readonly<Error & { input: unknown } & { name: CodecError } & { cause: unknown; message: string; name: CodecError; stack: string }>
- CodecError
Index
Constructors
constructor
Error constructor
Properties
readonlyinheritedinput
Input given for encoding/decoding
staticreadonlyinheritederrorName
Error name
Methods
staticinheritedasString
Static method to convert an error to a string
CustomError.asString(new Error('my message'));
staticinheritedhasInstance
Return true if anyValue is an instance of current class
Codec Error constructor