Public fields
code
integer
message
character
Methods
Method new()
Create an Error
Usage
Error$new(code, message, ...)
Arguments
code
Error code.
message
Error message.
...
local optional variable arguments
Method toJSON()
Serialize to list object suitable for jsonlite
Method fromJSON()
Deserialize from jsonlite list object
Usage
Error$fromJSON(ErrorJson)
Method toJSONString()
Serialize to JSON string.
Method fromJSONString()
Deserialize from JSON string
Usage
Error$fromJSONString(ErrorJson)
Method clone()
The objects of this class are cloneable with this method.
Usage
Error$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.