Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorService ¶
type ErrorService struct { Code Code Message string Detail string Raw error Attribute map[string]string }
func NewErrorService ¶
func NewErrorService(code Code) *ErrorService
func NewErrorServiceC ¶
func NewErrorServiceC(ctx context.Context, code Code, detail string) *ErrorService
func NewErrorServiceD ¶
func NewErrorServiceD(code Code, detail string) *ErrorService
func NewErrorServiceDA ¶
func NewErrorServiceDA(code Code, detail string, attr map[string]string) *ErrorService
func (*ErrorService) Error ¶
func (e *ErrorService) Error() string
func (*ErrorService) GetAttr ¶
func (e *ErrorService) GetAttr() map[string]string
func (*ErrorService) GetCode ¶
func (e *ErrorService) GetCode() Code
func (*ErrorService) GetDetail ¶
func (e *ErrorService) GetDetail() string
func (*ErrorService) GetRaw ¶
func (e *ErrorService) GetRaw() error
func (*ErrorService) String ¶
func (e *ErrorService) String() string
Click to show internal directories.
Click to hide internal directories.