Please pretty please.

If error,
  Handle
  Return error

If error 2
  Handle 
  Return error2

Code