Add typed errors for known error types

* Also add response error names as constants
  - Responses errors are per message, and the others are
    per request