UNPKG

@autorest/go

Version:
15 lines 658 B
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ /** * CodeModelError is thrown when the an invariant in the code model has been violated. * This is always a bug in the adapter. */ export class CodeModelError extends Error { constructor(message) { super(message); this.code = 'InternalError'; } } //# sourceMappingURL=errors.js.map