errtype

package
v0.0.0-...-daf4bef Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

GENERATED DO NOT EDIT

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(err error) int

Types

type BadRequestError

type BadRequestError struct {
	Err error
}

func (BadRequestError) Error

func (e BadRequestError) Error() string

func (BadRequestError) Unwrap

func (e BadRequestError) Unwrap() error

type NotFoundError

type NotFoundError struct {
	Err error
}

func (NotFoundError) Error

func (e NotFoundError) Error() string

func (NotFoundError) Unwrap

func (e NotFoundError) Unwrap() error

Jump to

Keyboard shortcuts

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