Versions in this module Expand all Collapse all v1 v1.4.0 Feb 5, 2026 Changes in this version + type ProblemDetail struct + Detail string + Extensions map[string]string + Instance string + Status int + Title string + Type string + func (pd ProblemDetail) MarshalJSON() ([]byte, error) + type ServiceError struct + Details map[string]string + GRPCCode codes.Code + HTTPCode int + Message string + func DependencyError(msg string) *ServiceError + func Errorf(factory func(string) *ServiceError, format string, args ...any) *ServiceError + func FromError(err error) *ServiceError + func InternalError(msg string) *ServiceError + func NotFoundError(msg string) *ServiceError + func PayloadTooLargeError(msg string) *ServiceError + func RateLimitError(msg string) *ServiceError + func TimeoutError(msg string) *ServiceError + func UnauthorizedError(msg string) *ServiceError + func ValidationError(msg string) *ServiceError + func (e *ServiceError) Error() string + func (e *ServiceError) GRPCStatus() *status.Status + func (e *ServiceError) ProblemDetail(r *http.Request) ProblemDetail + func (e *ServiceError) Unwrap() error + func (e *ServiceError) WithCause(err error) *ServiceError + func (e *ServiceError) WithDetail(key, value string) *ServiceError + func (e *ServiceError) WithDetails(details map[string]string) *ServiceError + func (e *ServiceError) WithType(uri string) *ServiceError Other modules containing this package github.com/ai8future/chassis-go/v5