- ⌂ exception
- Classes
io_comand\exception (COMAND Exception)
The base COMAND exception class, which can be used to catch all COMAND-related exceptions with code like the following.
try {
// some API code...
} catch(\io_comand\exception $e) {
echo('There was a COMAND exception: ' . $e->getMessage());
} catch(\exception $e) {
echo('There was a non-COMAND exception: ' . $e->getMessage());
}
More Specific Exceptions
The following classes extend exception, in case you would like to only catch more specific exceptions.
- invalid_new_object_request
- invalid_object_field_identifier
- invalid_object_field extends
- no_such_method_exception
- validation_exception - thrown by cObject::validate() if an object is not valid.