mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
19 lines
562 B
JavaScript
Executable File
19 lines
562 B
JavaScript
Executable File
export class IllegalStateError extends Error {
|
|
constructor(...args) {
|
|
super(...args);
|
|
Object.create(Error.prototype, { name: { value: 'IllegalStateError' } });
|
|
}
|
|
}
|
|
export class IllegalArgumentError extends Error {
|
|
constructor(...args) {
|
|
super(...args);
|
|
Object.create(Error.prototype, { name: { value: 'IllegalArgumentError' } });
|
|
}
|
|
}
|
|
export class SecurityError extends Error {
|
|
constructor(...args) {
|
|
super(...args);
|
|
Object.create(Error.prototype, { name: { value: 'SecurityError' } });
|
|
}
|
|
}
|