Versions in this module Expand all Collapse all v2 v2.1.0 Mar 11, 2026 Changes in this version + type AppError struct + Code int + Err error + Message string + func BadRequest(message string) *AppError + func Conflict(message string) *AppError + func Forbidden(message string) *AppError + func Internal(err error) *AppError + func NotFound(message string) *AppError + func Unauthorized(message string) *AppError + func Unprocessable(message string) *AppError + func (e *AppError) Error() string + func (e *AppError) ErrorResponse() map[string]any + func (e *AppError) Unwrap() error