errors

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package errors provides error codes for the application.

Index

Constants

View Source
const (
	// CodeInternalServerError is a generic error message returned when an unexpected error occurs.
	CodeInternalServerError = "INTERNAL_SERVER_ERROR"
	// CodeInvalidRequest is a generic error message returned when the request is invalid.
	CodeInvalidRequest = "INVALID_REQUEST"
	// CodeNotFound is a generic error message returned when the requested resource is not found.
	CodeNotFound = "NOT_FOUND"
	// CodeBadRequest is a generic error message returned when the request is bad.
	CodeBadRequest = "BAD_REQUEST"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL