@autorest/go
Version:
AutoRest Go Generator
16 lines • 648 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
/**
* CodegenError is thrown when the emitter fails some condition
* in order to generate a part of the code model.
*/
export class CodegenError extends Error {
code;
constructor(code, message) {
super(message);
this.code = code;
}
}
//# sourceMappingURL=errors.js.map