package
2.0.0+incompatible
Repository: https://github.com/eensymachines-in/errx.git
Documentation: pkg.go.dev

# Functions

HttpErrOrOkDispatch: given the gin Context, error, and the logging fields this can call c.AbortStatusWithJson, attach appropriate http status code and log the error.

# Variables

duplicate resource creation when disallowed.
Login / authentication failed.
Context when bound, error - this is similar to unmarshaling except that its used only when used with ShouldBind().
Http handler context parameter is missing.
DB query has failed, but not when empty result.
Invalid token, access revoked.
Error connecting to gateway - DB or AMQP.
incoming request parameter is invalid.
Failed to get resource when queried.
Error publishing message to AMQP server.
Error when unmarshalling, typically from Json.
Validation of the inputs, arguments went wrong.

# Interfaces

No description provided by the author