Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsResourceAlreadyExists ¶
func IsResourceNotFound ¶
Types ¶
type DeleteResourceError ¶
func NewDeleteResourceError ¶
func NewDeleteResourceError(resourceType, resourceID, reason string) DeleteResourceError
func (DeleteResourceError) Error ¶
func (d DeleteResourceError) Error() string
type DeviceNotEnroledError ¶
type DeviceNotEnroledError struct {
DeviceID string
}
func NewDeviceNotEnroledError ¶
func NewDeviceNotEnroledError(deviceID string) DeviceNotEnroledError
func (DeviceNotEnroledError) Error ¶
func (d DeviceNotEnroledError) Error() string
type DeviceNotRegisteredError ¶
type DeviceNotRegisteredError struct {
DeviceID string
}
func NewDeviceNotRegisteredError ¶
func NewDeviceNotRegisteredError(deviceID string) DeviceNotRegisteredError
func (DeviceNotRegisteredError) Error ¶
func (d DeviceNotRegisteredError) Error() string
type PosgresNotAvailableError ¶
type PosgresNotAvailableError struct {
Err error
}
func NewPostgresNotAvailableError ¶
func NewPostgresNotAvailableError(service string) PosgresNotAvailableError
func (PosgresNotAvailableError) Error ¶
func (p PosgresNotAvailableError) Error() string
type ResourceAlreadyExists ¶
func NewResourceAlreadyExistsError ¶
func NewResourceAlreadyExistsError(resourceType, resourceID string) ResourceAlreadyExists
func NewResourceAlreadyExistsErrorWithErr ¶
func NewResourceAlreadyExistsErrorWithErr(resourceType, resourceID string, err error) ResourceAlreadyExists
func (ResourceAlreadyExists) Error ¶
func (r ResourceAlreadyExists) Error() string
type ResourseNotFoundError ¶
func NewResourceNotFoundError ¶
func NewResourceNotFoundError(resourceType, resourceID string) ResourseNotFoundError
func NewResourceNotFoundErrorWithErr ¶
func NewResourceNotFoundErrorWithErr(resourceType, resourceID string, err error) ResourseNotFoundError
func NewResourceNotFoundErrorWithReason ¶
func NewResourceNotFoundErrorWithReason(reason string) ResourseNotFoundError
func (ResourseNotFoundError) Error ¶
func (r ResourseNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.