package
0.0.0-20240904100955-bc13906fb3a8
Repository: https://github.com/nekizz/telegram-bot.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewBinder initializes custom server binder.
NewErrorHandler returns the ErrorHandler instance.
NewHTTPError creates a new HTTPError instance.
NewHTTPGenericError creates a new HTTPError instance for generic error.
NewHTTPInternalError creates a new HTTPError instance for internal error.
NewHTTPValidationError creates a new HTTPError instance for validation error.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

GenericErrorType type of common errors.
InternalErrorType type of common errors.
ValidationErrorType type of common errors.

# Structs

CustomBinder struct.
ErrorHandler represents the custom http error handler.
ErrorResponse represents the error response.
HTTPError represents an error that occurred while handling a request.

# Type aliases

No description provided by the author