UNPKG

@confluentinc/schemaregistry

Version:
19 lines (18 loc) 585 B
"use strict"; /** * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.InvalidArgumentsException = void 0; /** * Exception used when a function receives an invalid argument. */ class InvalidArgumentsException extends Error { constructor(message) { super(message); Object.setPrototypeOf(this, InvalidArgumentsException.prototype); } } exports.InvalidArgumentsException = InvalidArgumentsException; InvalidArgumentsException.prototype.name = 'InvalidArgumentsException';