Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SUCCESS show status 200 when success SUCCESS = 200 // FAIL show status 404 when fail FAIL = 404 )
Variables ¶
View Source
var Exce = new(Exception)
Exce exce
Functions ¶
This section is empty.
Types ¶
type Exception ¶
type Exception struct{}
Exception throw exception
func (*Exception) Catch ¶
func (e *Exception) Catch(ctx echo.Context) func()
Catch throw exception if recover err
Click to show internal directories.
Click to hide internal directories.