customerror

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequestError

type BadRequestError struct {
	// contains filtered or unexported fields
}

BadRequestError represents bad RatesRequest error

func NewBadRequestError

func NewBadRequestError(message string) *BadRequestError

NewBadRequestError error constructor

func (*BadRequestError) Error

func (m *BadRequestError) Error() string

Error returns error message

type DatabaseError

type DatabaseError struct {
	// contains filtered or unexported fields
}

DatabaseError represents database error

func NewDatabaseError

func NewDatabaseError(message string) *DatabaseError

NewDatabaseError error constructor

func (*DatabaseError) Error

func (m *DatabaseError) Error() string

Error returns error message

type NotFoundError

type NotFoundError struct {
	// contains filtered or unexported fields
}

NotFoundError is rates not found error

func NewNotFoundError

func NewNotFoundError(message string) *NotFoundError

NewNotFoundError error constructor

func (*NotFoundError) Error

func (m *NotFoundError) Error() string

Error returns error message

Jump to

Keyboard shortcuts

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