(cause: Error, { method }: { method?: string } = {})
| 422 | static code = 4200 as const |
| 423 | |
| 424 | constructor(cause: Error, { method }: { method?: string } = {}) { |
| 425 | super(cause, { |
| 426 | code: UnsupportedProviderMethodError.code, |
| 427 | name: 'UnsupportedProviderMethodError', |
| 428 | shortMessage: `The Provider does not support the requested method${method ? ` " ${method}"` : ''}.`, |
| 429 | }) |
| 430 | } |
| 431 | } |
| 432 | |
| 433 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected