Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NestErrorPaths ¶
NestErrorPaths is used to nest paths along with the error
Types ¶
type Error ¶
type Error struct {
Message string `json:"message"`
Extensions map[string]interface{} `json:"extensions"`
Paths []string `json:"paths"`
}
Error represents the error returned by server in response
func ConvertError ¶
ConvertError converts any error to jerrors.Error
type MultiError ¶
type MultiError struct {
Errors []*Error
}
func (*MultiError) Error ¶
func (e *MultiError) Error() string
Click to show internal directories.
Click to hide internal directories.