Show error when not 502 error

Also put errors in order
Merge pull request #11 from lukevers/header

Show error when not 502 error