new DecodingException(error)
Create a new DecodingException wrapping the given error object.
Call with: throw new DecodingException(new Error("message")).
Parameters:
Name | Type | Description |
---|---|---|
error |
Error | The exception created with new Error. |
- Source: