Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDetailCodes ¶
func GetErrorStacktrace ¶
func GetErrorStacktrace(err error) errors.StackTrace
func SetErrorDetails ¶
func WithDetail ¶
Types ¶
type DetailFactory ¶
func NewDetailFactory ¶
func NewDetailFactory() DetailFactory
type ErrorDetails ¶
type ErrorDetails struct { ErrorCode string `json:"errorCode"` ErrorMessage string `json:"errorMessage"` }
func GetDetails ¶
func GetDetails(err error) []*ErrorDetails
func GetErrorDetails ¶
func GetErrorDetails(errorCode string) (*ErrorDetails, bool)
func GetErrorDetailsList ¶
func GetErrorDetailsList() []*ErrorDetails
func NewErrorDetails ¶
func NewErrorDetails(errorCode string, errorMessage string) *ErrorDetails
Click to show internal directories.
Click to hide internal directories.