package
1.4.1
Repository: https://github.com/tfkhdyt/fiber-toolbox.git
Documentation: pkg.go.dev

# Functions

NewBadRequestError creates a new fiber.Error with a status code of 400 (Bad Request).
NewConflictError creates a new fiber.Error with a status code of 409 (Conflict).
NewErrorHandler returns a custom error handler for a Fiber application.
NewInternalServerError creates a new fiber.Error with a status code of 500 (Internal Server Error).
NewNotFoundError creates a new fiber.Error with a status code of 404 (Not Found).
NewPayloadTooLargeError creates a new fiber.Error with a status code of 413 (Payload Too Large).
NewSquirrelToSqlError creates a new internal server error specifically for situations where building an SQL query using the Squirrel library fails.
NewUnauthenticatedError creates a new fiber.Error with a status code of 401 (Unauthorized).
NewUnauthorizedError creates a new fiber.Error with a status code of 403 (Forbidden).
NewUnsupportedMediaTypeError creates a new fiber.Error with a status code of 415 (Unsupported Media Type).
NewValidationError creates a new instance of ValidationError.

# Structs

ValidationError represents a custom error type that contains a list of validation errors.