errors

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forbidden

type Forbidden struct {
	Msg    string `bson:"msg" json:"msg"`
	Status int    `bson:"status" json:"status" newc:"-"`
}

Forbidden ...

func NewForbidden

func NewForbidden(msg string) Forbidden

NewForbidden Create a new Forbidden

func (Forbidden) Error

func (e Forbidden) Error() string

Error ...

Jump to

Keyboard shortcuts

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