Error handling

Errors follow a standardized structure:

  • type: machine readable error type
  • message: human readable error
  • code: numeric code
  • param: parameter related to the error (optional)