UNPKG

@wireapp/cryptobox

Version:

High-level API with persistent storage for Proteus.

12 lines (10 loc) 334 B
class InvalidPreKeyFormatError extends Error { constructor(public message: string) { super(message); Object.setPrototypeOf(this, InvalidPreKeyFormatError.prototype); this.name = (<any>this).constructor.name; this.message = message; this.stack = new Error().stack; } } export default InvalidPreKeyFormatError;