UNPKG

pooja-docucomb-tink-crypto

Version:

A multi-language, cross-platform library that provides cryptographic APIs that are secure, easy to use correctly, and hard(er) to misuse.

18 lines (15 loc) 436 B
/** * @license * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * Exception used when a function receives an invalid argument. */ export class InvalidArgumentsException extends Error { constructor(message?: string) { super(message); Object.setPrototypeOf(this, InvalidArgumentsException.prototype); } } InvalidArgumentsException.prototype.name = 'InvalidArgumentsException';