Add constants to the function set_error_handler
Add constants to the function set_error_handler

Add constants to the function set_error_handler to improve error
management.

studiocaramia/Citrus,studiocaramia/Citrus,studiocaramia/Citrus