amberror

package
v0.0.0-...-545971b Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: MIT Imports: 1 Imported by: 1

Documentation

Overview

Package amberror has shared errors across the application.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrAccessDenied is when access is not allowed to the data item.
	ErrAccessDenied = errors.New("access denied to the data item")
	// ErrNotFound is when an item is not found.
	ErrNotFound = errors.New("item was not found")
	// ErrPluginNotFound returns a plugin that is not found.
	ErrPluginNotFound = errors.New("plugin name not found")
	// ErrGrantNotRequested is when a grant is attempted to be enabled on a
	// plugin, but the plugin didn't explicitly request the grant so don't allow
	// it.
	ErrGrantNotRequested = errors.New("request does not exist for the grant")
	// ErrSettingNotSpecified is when a setting is attempted to be set on a
	// plugin, but the plugin didn't explicity specify it as a setting.
	ErrSettingNotSpecified = errors.New("setting does not exist for the plugin")
)

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