Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = New("not implemented") ErrConfigNotFound = New("config file not found") ErrStreamingUnsupported = New("streaming unsupported") ErrConfigDecoding = func(err error) error { return New(fmt.Sprintf("config decoding failed: %s", err.Error())) } ErrNotConfigured = func(name string) error { return New(fmt.Sprintf("%s not configured", name)) } ErrEmailAlreadyUsed = New("email already used") ErrEmailOrPasswordInvalid = New("email or password invalid") ErrInvalidCredentials = New("invalid credentials") ErrTokenGenerationFail = New("token generation fail") ErrInvalidPolicyData = New("invalid policy data") ErrDeleteRoleWithUsers = New("can't delete role with some users") ErrNilPointerDeref = New("nil pointer dereference") ErrGetOfNoValue = New("get of no value") ErrNoDatabaseFound = New("no database found") ErrNoValuePresent = New("no value present") )
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
func (Error) MarshalJSON ¶
func (Error) WriteResponse ¶
func (e Error) WriteResponse(rw http.ResponseWriter)
Click to show internal directories.
Click to hide internal directories.