11 lines
268 B
TypeScript
11 lines
268 B
TypeScript
|
import {ErrorWithContext} from './ErrorWithContext'
|
||
|
|
||
|
export class MethodNotSupportedError extends ErrorWithContext {
|
||
|
constructor(
|
||
|
message = 'Method not supported',
|
||
|
context: {[key: string]: any} = {},
|
||
|
) {
|
||
|
super(message, context)
|
||
|
}
|
||
|
}
|