Groups
Groups
Sign in
Groups
Groups
frapi-general
Conversations
About
Send feedback
Help
Frapi_Error : custom code
41 views
Skip to first unread message
delta9thc
unread,
Feb 23, 2012, 4:40:05 AM
2/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to frapi-general
When i try :
public function executeGet()
{
throw new Frapi_Error('CLS_801', 'The error message to display',
'801');
}
I'm getting an http Status Code 500.
i don't understand why it's not 801 as i wrote it.
i'm stuck here, any help would be very appreciated.
Thanks
delta9thc
unread,
Feb 23, 2012, 7:52:14 AM
2/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to frapi-general
It's working well with Status Code: 403 or 501. but any others status
code than those defined in HTTP specs are interpreted as 500 error by
apache
Reply all
Reply to author
Forward
0 new messages