The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

Return false on Slim's handleErrors function

tuliospuri's Avatar

tuliospuri

11 Jun, 2014 11:16 PM

Hi,

Why Slim may not return false on handleErrors function?

I said it because when a handle error function handles successfully an error, the error_get_last() function can't report that error. [1]. If my error_reporting is E_ALL & ~E_NOTICE, Slim's handleErrors function will handle successfully notice errors (successfully because nothing is returned) and I can't use error_get_last() to get that error and track in my personal system track. If Slim's handleErrors function may return false, the notice error will be reported by the error_get_last() function successfully and everyone stay happy :).

Thanks in advance!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac