messages

package
v1.7.19 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Success represents a successful operation.
	Success string = "success"

	// Error represents a failed operation.
	Error string = "error"

	NotFound string = "not found"

	// Unauthorized represents an unauthorized access error.
	Unauthorized string = "unauthorized"

	// Forbidden represents a forbidden access error.
	Forbidden string = "forbidden"

	// BadRequest represents a bad request error.
	ValidationFailed string = "validation failed"
	BadRequest       string = "bad request"

	// InternalServerError represents an internal server error.
	InternalServerError string = "internal server error"

	// ServiceUnavailable represents a service unavailable error.
	ServiceUnavailable string = "service unavailable"

	// GatewayTimeout represents a gateway timeout error.
	GatewayTimeout string = "gateway timeout"

	// DuplicateResource represents a duplicate resource error.
	DuplicateResource string = "duplicate resource"

	// InvalidCredentials represents an invalid credentials error.
	InvalidCredentials string = "invalid credentials"
)

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