dopErrs

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoRows            = Err("err_no_rows")
	BadColumnName     = Err("bad_column_name")
	BadJson           = Err("bad_json")
	BadJwt            = Err("bad_jwt")
	BadQueryParams    = Err("bad_query_params")
	ServiceNA         = Err("service_not_available")
	NotImplemented    = Err("not_implemented")
	NotAuthorized     = Err("not_authorized")
	PermissionDenied  = Err("permission_denied")
	ObjectNotFound    = Err("object_not_found")
	IncorrectPageSize = Err("incorrect_page_size")
	BadStatusCode     = Err("bad_status_code")
	FormValidate      = Err("form_validate")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Err

type Err string

func (Err) Error

func (e Err) Error() string

type ErrWithDesc

type ErrWithDesc struct {
	Err  error
	Desc string
}

func (ErrWithDesc) Error

func (e ErrWithDesc) Error() string

type FormErr

type FormErr struct {
	Fields map[string]error
}

func (FormErr) Error

func (e FormErr) Error() string

Jump to

Keyboard shortcuts

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