View definition

(*Context).AbortWithError

Defined in github.com/gin-gonic/gin/context.go

Description

AbortWithError calls `AbortWithStatus()` and `Error()` internally. This method stops the chain, writes the status code and pushes the specified error to `c.Errors`. See Context.Error() for more details.

AbortWithError is referenced in 41 repositories

github.com/gin-gonic/gin github.com/BTBurke/gaea-server github.com/eris-ltd/eris-db

...