Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: send_redirectChapter 17
The LWP Library
Next: Reference: send_file_response
 

send_error

 $c->send_error ( [code, [msg]] )

Returns an error response to the client. code can contain one of the error response codes; the default is 400 Bad Request. msg is a string describing the error displayed in the HTML entity body.


Previous: Reference: send_redirectPerl in a NutshellNext: Reference: send_file_response
Reference: send_redirectBook IndexReference: send_file_response

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.