BasicError struct
| 85 | |
| 86 | // BasicError struct |
| 87 | type BasicError struct { |
| 88 | Code ErrorType `json:"Code,omitempty"` |
| 89 | Cause string `json:"Cause,omitempty"` |
| 90 | Message string `json:"Message"` |
| 91 | Status int `json:"Status,omitempty"` |
| 92 | Type string `json:"Type,omitempty"` |
| 93 | } |
| 94 | |
| 95 | // Error struct compatible with standard `error` interface |
| 96 | func (err BasicError) Error() string { |
nothing calls this directly
no outgoing calls
no test coverage detected