rerror

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Define errors here. For example, errors for when we cannot retrieve a resource, or a timeout error.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrudErr

type CrudErr struct {
	Type string
	Name string
	Op   string
}

func (CrudErr) Error

func (e CrudErr) Error() string

type FileUploadErr

type FileUploadErr struct {
	FileName string
}

func (FileUploadErr) Error

func (e FileUploadErr) Error() string

type GenericError

type GenericError struct {
	Message string
}

func (GenericError) Error

func (e GenericError) Error() string

type ResourceNotFound

type ResourceNotFound struct {
	Type string
	Name string
}

func (ResourceNotFound) Error

func (e ResourceNotFound) Error() string

Jump to

Keyboard shortcuts

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