Versions in this module Expand all Collapse all v0 v0.4.1 Jul 10, 2026 v0.4.0 Jul 10, 2026 v0.3.1 Jul 10, 2026 v0.3.0 Jul 10, 2026 Changes in this version + type AppError struct + Code Code + Fields []FieldViolation + GRPC codes.Code + HTTP int + Message string + Meta map[string]string + func AlreadyExists(msg string) *AppError + func FailedPrecondition(msg string) *AppError + func FromError(err error) *AppError + func Internal(msg string) *AppError + func InvalidArgument(msg string) *AppError + func New(code Code, msg string) *AppError + func NotFound(msg string) *AppError + func PermissionDenied(msg string) *AppError + func Unauthenticated(msg string) *AppError + func Unavailable(msg string) *AppError + func Validation(msg string) *AppError + func (e *AppError) Error() string + func (e *AppError) Unwrap() error + func (e *AppError) WithCause(err error) *AppError + func (e *AppError) WithField(field, desc string) *AppError + func (e *AppError) WithMeta(k, v string) *AppError + type Code string + const CodeAlreadyExists + const CodeFailedPrecondition + const CodeInternal + const CodeInvalidArgument + const CodeNotFound + const CodePermissionDenied + const CodeUnauthenticated + const CodeUnavailable + const CodeValidation + type FieldViolation struct + Description string + Field string