Documentation
¶
Overview ¶
Package errors gives service broker errors type and context. This can then be used to propagate and raise appropriate errors in HTTP responses.
Index ¶
- func IsAsyncRequiredError(err error) bool
- func IsConfigurationError(err error) bool
- func IsParameterError(err error) bool
- func IsQueryError(err error) bool
- func IsResourceConflictError(err error) bool
- func IsResourceGoneError(err error) bool
- func IsResourceNotFoundError(err error) bool
- func IsValidationError(err error) bool
- func NewAsyncRequiredError(message string, arguments ...interface{}) error
- func NewConfigurationError(message string, arguments ...interface{}) error
- func NewParameterError(message string, arguments ...interface{}) error
- func NewQueryError(message string, arguments ...interface{}) error
- func NewResourceConflictError(message string, arguments ...interface{}) error
- func NewResourceGoneError(message string, arguments ...interface{}) error
- func NewResourceNotFoundError(message string, arguments ...interface{}) error
- func NewValidationError(message string, arguments ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAsyncRequiredError ¶
IsAsyncRequiredError returns whether an error is an async required error.
func IsConfigurationError ¶
IsConfigurationError returns whether an error is a configuration error.
func IsParameterError ¶
IsParameterError returns whether an error is a parameter error.
func IsQueryError ¶
IsQueryError returns whether an error is a query error.
func IsResourceConflictError ¶
IsResourceConflictError returns whether an error is a resource conflict error.
func IsResourceGoneError ¶
IsResourceGoneError returns whether an error is a resource gone error.
func IsResourceNotFoundError ¶
IsResourceNotFoundError returns whether an error is a resource not found error.
func IsValidationError ¶
IsValidationError returns whether an error is a validation error.
func NewAsyncRequiredError ¶
NewAsyncRequiredError returns a new async required error formatted like fmt.Errorf.
func NewConfigurationError ¶
NewConfigurationError returns a new configuration error formatted like fmt.Errorf.
func NewParameterError ¶
NewParameterError returns a new parameter error formatted like fmt.Errorf.
func NewQueryError ¶
NewQueryError returns a new query error formatted like fmt.Errorf.
func NewResourceConflictError ¶
NewResourceConflictError returns a new resource conflict error formatted like fmt.Errorf.
func NewResourceGoneError ¶
NewResourceGoneError returns a new resource gone error formatted like fmt.Errorf.
func NewResourceNotFoundError ¶
NewResourceNotFoundError returns a new resource not found error formatted like fmt.Errorf.
func NewValidationError ¶
NewValidationError returns a new validation error formatted like fmt.Errorf.
Types ¶
This section is empty.