The base result class returned by all API methods used in parsing an expression or calculating a result. Can be either Success or Error.
Result returned in case of Error.
Result returned in case of Success.
Executes a block of code when the result is Error, otherwise does nothing.
Executes a block of code when the result is Success, otherwise does nothing.
Returns the result value in case of Success, otherwise returns the other value.
Returns the result value in case of Success, otherwise returns the result of the block of code.
Returns the result value in case of Success, otherwise returns null.
null
Returns the result value in case of Success, otherwise throws an exception related to the error.