Activated custom error handling