(reason: BadArgument | SystemError)
| 158 | reason: BadArgument | SystemError |
| 159 | }> { |
| 160 | constructor(reason: BadArgument | SystemError) { |
| 161 | if ("cause" in reason) { |
| 162 | super({ reason, cause: reason.cause } as any) |
| 163 | } else { |
| 164 | super({ reason }) |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | /** |
| 169 | * Marks this value as a platform error wrapper for runtime guards. |
nothing calls this directly
no outgoing calls
no test coverage detected