api

package
v0.0.0-...-9c0a888 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidToken       = errors.New("Invalid token")
	ErrTokenMissing       = errors.New("Token not provided")
	ErrNotFound           = errors.New("Not found")
	ErrInvalidCredentials = errors.New("Invalid credentials provided")
	ErrNoContent          = errors.New("No content")
	ErrInvalidSlug        = errors.New("Invalid slug")
	ErrUnauthorised       = errors.New("You are not allowed to perform this action")
	ErrForbidden          = errors.New("Access to this resource is forbidden")
	ErrAlreadyExists      = errors.New("already exists")
	ErrNoTitle            = errors.New("Title not provided")
)

a list of api specific errors

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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