mirror of
https://github.com/kataras/iris.git
synced 2026-01-24 12:25:57 +00:00
Version 3.0.0-beta cleaned
This commit is contained in:
14
bindings/errors.go
Normal file
14
bindings/errors.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package bindings
|
||||
|
||||
import "github.com/kataras/iris/errors"
|
||||
|
||||
var (
|
||||
// ErrNoForm returns an error with message: 'Request has no any valid form'
|
||||
ErrNoForm = errors.New("Request has no any valid form")
|
||||
// ErrWriteJSON returns an error with message: 'Before JSON be written to the body, JSON Encoder returned an error. Trace: +specific error'
|
||||
ErrWriteJSON = errors.New("Before JSON be written to the body, JSON Encoder returned an error. Trace: %s")
|
||||
// ErrRenderMarshalled returns an error with message: 'Before +type Rendering, MarshalIndent retured an error. Trace: +specific error'
|
||||
ErrRenderMarshalled = errors.New("Before +type Rendering, MarshalIndent returned an error. Trace: %s")
|
||||
// ErrReadBody returns an error with message: 'While trying to read +type from the request body. Trace +specific error'
|
||||
ErrReadBody = errors.New("While trying to read %s from the request body. Trace %s")
|
||||
)
|
||||
Reference in New Issue
Block a user