UNPKG

@confluentinc/schemaregistry

Version:
19 lines (18 loc) 512 B
"use strict"; /** * Copyright 2020 Google LLC * SPDX-License-Identifier: Apache-2.0 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SecurityException = void 0; /** * The base class for all security exceptions. */ class SecurityException extends Error { constructor(message) { super(message); Object.setPrototypeOf(this, SecurityException.prototype); } } exports.SecurityException = SecurityException; SecurityException.prototype.name = 'SecurityException';