(
cause: Error,
options: Prettify<
RpcErrorOptions<ProviderRpcErrorCode> & {
data?: T | undefined
}
>,
)
| 91 | data?: T | undefined |
| 92 | |
| 93 | constructor( |
| 94 | cause: Error, |
| 95 | options: Prettify< |
| 96 | RpcErrorOptions<ProviderRpcErrorCode> & { |
| 97 | data?: T | undefined |
| 98 | } |
| 99 | >, |
| 100 | ) { |
| 101 | super(cause, options) |
| 102 | |
| 103 | this.data = options.data |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected