Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessError ¶
AccessError happens when an unidentified error occurs
func NewAccessError ¶
func NewAccessError(message string, err error) *AccessError
NewAccessError ctor
func (*AccessError) Error ¶
func (e *AccessError) Error() string
func (*AccessError) Serialize ¶
func (e *AccessError) Serialize() []byte
Serialize returns the error serialized
type DatabaseError ¶
type DatabaseError struct {
SourceError error
}
DatabaseError happens when an error occur when running a command in the database
func (*DatabaseError) Error ¶
func (e *DatabaseError) Error() string
func (*DatabaseError) Serialize ¶
func (e *DatabaseError) Serialize() []byte
Serialize returns the error serialized
type GenericError ¶
GenericError happens when an unidentified error occurs
func NewGenericError ¶
func NewGenericError(message string, err error) *GenericError
NewGenericError ctor
func (*GenericError) Error ¶
func (e *GenericError) Error() string
func (*GenericError) Serialize ¶
func (e *GenericError) Serialize() []byte
Serialize returns the error serialized
type KubernetesError ¶
type KubernetesError struct {
// contains filtered or unexported fields
}
KubernetesError happens when an error occur when running a command in the database
func NewKubernetesError ¶
func NewKubernetesError(message string, err error) *KubernetesError
NewKubernetesError ctor
func (*KubernetesError) Error ¶
func (e *KubernetesError) Error() string
func (*KubernetesError) Serialize ¶
func (e *KubernetesError) Serialize() []byte
Serialize returns the error serialized
type SerializableError ¶
type SerializableError interface {
Serialize() []byte
}
SerializableError means that an error can be transformed to JSON
Click to show internal directories.
Click to hide internal directories.