Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrContextMissing = APIError{ // contains filtered or unexported fields }
View Source
var ErrContextMissingEnvelope = APIError{ // contains filtered or unexported fields }
View Source
var ErrContextMissingLogger = APIError{ // contains filtered or unexported fields }
View Source
var ErrContextMissingRequestID = APIError{ // contains filtered or unexported fields }
View Source
var ErrDataNotFound = APIError{ // contains filtered or unexported fields }
View Source
var ErrForbidden = APIError{ // contains filtered or unexported fields }
View Source
var ErrNotFound = APIError{ // contains filtered or unexported fields }
View Source
var ErrRouteNotFound = APIError{ // contains filtered or unexported fields }
View Source
var ErrServerError = APIError{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type APIError ¶
type APIError struct {
// contains filtered or unexported fields
}
func NewGeneric ¶
func NewGenericMulti ¶ added in v0.0.15
func (APIError) HTTPStatus ¶
type MultiError ¶ added in v0.0.15
type MultiError struct {
// contains filtered or unexported fields
}
func NewMultiError ¶ added in v0.0.15
func NewMultiError() *MultiError
func (*MultiError) Add ¶ added in v0.0.15
func (m *MultiError) Add(err error)
func (*MultiError) GetErrors ¶ added in v0.0.15
func (m *MultiError) GetErrors() []string
func (*MultiError) HasError ¶ added in v0.0.15
func (m *MultiError) HasError() bool
Click to show internal directories.
Click to hide internal directories.