Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package errors implements various error types that are used both internally, and that may be returned from the client interface.
Errors returned by the client that are not covered by these errors can be considered as general internal failures.
Index ¶
- func FatalIfErrored(err error)
 - func UpdateErrorIdentifier(err error, id interface{}) error
 - type ErrorConnectionUnauthorized
 - type ErrorDatastoreError
 - type ErrorInsufficientIdentifiers
 - type ErrorOperationNotSupported
 - type ErrorParsingDatastoreEntry
 - type ErrorResourceAlreadyExists
 - type ErrorResourceDoesNotExist
 - type ErrorResourceUpdateConflict
 - type ErrorValidation
 - type ErrorWatchTerminated
 - type ErroredField
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorConnectionUnauthorized ¶
type ErrorConnectionUnauthorized struct {
}
    Error indicating a problem connecting to the backend.
func (ErrorConnectionUnauthorized) Error ¶
func (e ErrorConnectionUnauthorized) Error() string
type ErrorDatastoreError ¶
type ErrorDatastoreError struct {
	Err        error
	Identifier interface{}
}
    Error indicating a problem connecting to the backend.
func (ErrorDatastoreError) Error ¶
func (e ErrorDatastoreError) Error() string
type ErrorInsufficientIdentifiers ¶
type ErrorInsufficientIdentifiers struct {
	Name string
}
    Error indicating insufficient identifiers have been supplied on a resource management request (create, apply, update, get, delete).
func (ErrorInsufficientIdentifiers) Error ¶
func (e ErrorInsufficientIdentifiers) Error() string
type ErrorOperationNotSupported ¶
type ErrorOperationNotSupported struct {
	Operation  string
	Identifier interface{}
}
    Error indicating an operation is not supported.
func (ErrorOperationNotSupported) Error ¶
func (e ErrorOperationNotSupported) Error() string
type ErrorParsingDatastoreEntry ¶
Error indicating the datastore has failed to parse an entry.
func (ErrorParsingDatastoreEntry) Error ¶
func (e ErrorParsingDatastoreEntry) Error() string
type ErrorResourceAlreadyExists ¶
type ErrorResourceAlreadyExists struct {
	Err        error
	Identifier interface{}
}
    Error indicating a resource already exists. Used when attempting to create a resource that already exists.
func (ErrorResourceAlreadyExists) Error ¶
func (e ErrorResourceAlreadyExists) Error() string
type ErrorResourceDoesNotExist ¶
type ErrorResourceDoesNotExist struct {
	Err        error
	Identifier interface{}
}
    Error indicating a resource does not exist. Used when attempting to delete or udpate a non-existent resource.
func (ErrorResourceDoesNotExist) Error ¶
func (e ErrorResourceDoesNotExist) Error() string
type ErrorResourceUpdateConflict ¶
type ErrorResourceUpdateConflict struct {
	Err        error
	Identifier interface{}
}
    Error indicating an atomic update attempt that failed due to a update conflict.
func (ErrorResourceUpdateConflict) Error ¶
func (e ErrorResourceUpdateConflict) Error() string
type ErrorValidation ¶
type ErrorValidation struct {
	ErroredFields []ErroredField
}
    Validation error containing the fields that are failed validation.
func (ErrorValidation) Error ¶
func (e ErrorValidation) Error() string
type ErrorWatchTerminated ¶
type ErrorWatchTerminated struct {
	Err error
}
    Error indicating the watcher has been terminated.
func (ErrorWatchTerminated) Error ¶
func (e ErrorWatchTerminated) Error() string
      
      Source Files
      ¶
    
- doc.go
 - errors.go
 - fatal.go