1
0
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:
Makis Maropoulos
2016-05-30 17:08:09 +03:00
commit c26668a489
114 changed files with 14552 additions and 0 deletions

14
bindings/errors.go Normal file
View 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")
)