errors

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateResourceError

type DuplicateResourceError struct {
	ResourceType string
	ResourceId   string
}

func (*DuplicateResourceError) Error

func (e *DuplicateResourceError) Error() string

type GenericError

type GenericError struct {
	Message    string
	StatusCode int
}

func (*GenericError) Error

func (e *GenericError) Error() string

type ResourceNotFoundError

type ResourceNotFoundError struct {
	ResourceType string
	ResourceId   string
}

func (*ResourceNotFoundError) Error

func (e *ResourceNotFoundError) Error() string

type ValidationError

type ValidationError struct {
	Msg string
}

func (*ValidationError) Error

func (e *ValidationError) Error() string

Jump to

Keyboard shortcuts

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