Re: feature request - error code ( not string ) in perl glue
Joe Schaefer <[email protected]>
| Newsgroups | gmane.comp.apache.apreq |
|---|---|
| Message-ID | <[email protected]> |
Joe Schaefer <[email protected]> writes: > Jonathan Vanasco <[email protected]> writes: > >> Currently , on error, the following return string error messages: >> >> $req->args_status() >> $req->body_status() >> $req->param_status() > > The returned error scalars are dual-variables, so you can > compare them numerically or as strings. We probably just > need to export more of the actual error codes via APR::Request::Error. Actually there are quite a few of them in https://svn.apache.org/repos/asf/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs we probably just need to document them. -- Joe Schaefer