ErrorResponse: { message: string; status: "error" }

Errors sent from client to server should be of this type, encoded in JSON

Type declaration

  • message: string
  • status: "error"

Generated using TypeDoc