Error Types
Built‑in domain errors, custom error hierarchies, and rich contextual tagging.
-
Error Hierarchy Overview of all built-in types:
NotFoundError,ValidationError,ConflictError,UnauthorizedError,ForbiddenError, and more. -
Domain Errors Semantic domain-specific errors — map naturally to HTTP status codes.
-
Custom Error Types CRTP base classes for defining your own typed domain errors.
-
Rich Error Context & Tags Attach structured metadata to errors with fluent chaining and the tag system.
-
Success & Success Reasons
SuccessReason— attach messages and metadata to successful results. -
Generic Errors
Error,ExceptionError, and all built-in generic types — constructors and use cases.