Version: 4.1.4.1
1.1 Error Handling
| ||||||||||
status : exact-integer? |
Exception type raised by failing APR procedures. The status fields contains the error code returned from APR.
(check-error source status) → any |
source : any/c |
status : exact-integer? |
Checks whether the given APR status code represents success. If it doesn’t, the procedure decodes the status into an error message, prepends the source information to it and raises a new exception of type exn:fail:apr.
This procedure is unsafe, since passing arbitrary error codes may result in unspecified behaviour.