models

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DbError = iota
	FsError
	Duplicated
	NotFound
	DocumentNotFound
	OtpInvalid
	TokenInvalid
	InvalidAccessKey
	InvalidBucket
	UidMismatch
	GeneratorError
	Other
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorType

type ErrorType int

type ModelError

type ModelError struct {
	Msg     string
	ErrType ErrorType
}

func (*ModelError) Error

func (m *ModelError) Error() string

type RouteError

type RouteError struct {
	Msg     string
	ErrType ErrorType
}

func (*RouteError) Error

func (r *RouteError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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