Versions in this module Expand all Collapse all v1 v1.0.0 Sep 9, 2025 Changes in this version + var CodeAuthenticationError Code = "AUTHENTICATION_ERROR" + var CodeInternalError Code = "INTERNAL_ERROR" + var CodeParameterError Code = "PARAMETER_ERROR" + var SubCodeNone SubCode = "" + type Code string + type CodedError struct + Code Code + SubCode SubCode + func NewCodedError(code Code, subCode SubCode, original error) *CodedError + func NewCodedErrorMessage(code Code, subCode SubCode, originalMessage string) *CodedError + func (e *CodedError) Error() string + func (e *CodedError) Unwrap() error + type SubCode string