source:
node_modules/@swagger-api/apidom-reference/es/errors/PluginError.mjs
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 264 bytes |
Line | |
---|---|
1 | import { ApiDOMError } from '@swagger-api/apidom-error'; |
2 | class PluginError extends ApiDOMError { |
3 | plugin; |
4 | constructor(message, options) { |
5 | super(message, { |
6 | cause: options.cause |
7 | }); |
8 | this.plugin = options.plugin; |
9 | } |
10 | } |
11 | export default PluginError; |
Note:
See TracBrowser
for help on using the repository browser.