Skip to main content

Error types

Server-side validation errors

Some ops are rejected by the server with 400 before being applied. These surface as HttpError (REST) or ServerMsg::Error { code: 400 } (WebSocket):

Handling errors

All errors are Data.TaggedError from Effect, matchable with Effect.catchTag:

Error fields