Documentation ¶
Index ¶
- Variables
- func NewError(status *status.Status) error
- func ToGraphQLError(err error) error
- type BadRequest
- type DebugInfo
- type Error
- type FieldViolation
- type Help
- type Link
- type LocalizedMessage
- type PreconditionFailure
- type PreconditionFailureViolations
- type QuotaFailure
- type QuotaFailureViolation
- type RequestInfo
- type ResourceInfo
- type RetryInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArguments = errors.New("runtime: invalid arguments") ErrWrongType = errors.New("runtime: wrong type for Get method") )
Functions ¶
func ToGraphQLError ¶
Types ¶
type BadRequest ¶
type BadRequest struct { Type string `json:"type"` FieldViolations []*FieldViolation `json:"fieldViolations"` }
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (*Error) Extensions ¶
type FieldViolation ¶
type LocalizedMessage ¶
type PreconditionFailure ¶
type PreconditionFailure struct {
Violations []*PreconditionFailureViolations `json:"violations"`
}
type QuotaFailure ¶
type QuotaFailure struct {
Violations []*QuotaFailureViolation `json:"violations"`
}
type QuotaFailureViolation ¶
type RequestInfo ¶
type ResourceInfo ¶
Click to show internal directories.
Click to hide internal directories.