error

package
v0.0.0-...-6e72d16 Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileNameError

type FileNameError struct {
}

FileNameError representing file name not provided

func NewFileNameError

func NewFileNameError() *FileNameError

NewFileNameError - Create new FileNameError

func (*FileNameError) Error

func (e *FileNameError) Error() string

Error - detailed error message

func (*FileNameError) GetDisplayMessage

func (e *FileNameError) GetDisplayMessage() string

GetDisplayMessage - error message

type IError

type IError interface {
	error
	// GetDisplayMessage - User friendly error message
	GetDisplayMessage() string
}

IError - interface for base errors

type IOError

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

IOError representing IO error

func NewIOError

func NewIOError(baseError error) *IOError

NewIOError - Create new IOError

func (*IOError) Error

func (e *IOError) Error() string

Error - detailed error message

func (*IOError) GetDisplayMessage

func (e *IOError) GetDisplayMessage() string

GetDisplayMessage - error message

type UnexpectedError

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

UnexpectedError representing an unexpected error

func NewUnexpectedError

func NewUnexpectedError(baseError error) *UnexpectedError

NewParseHttpResponseError - Create new UnexpectedError

func (*UnexpectedError) Error

func (e *UnexpectedError) Error() string

Error - detailed error message

func (*UnexpectedError) GetDisplayMessage

func (e *UnexpectedError) GetDisplayMessage() string

GetDisplayMessage - error message

Jump to

Keyboard shortcuts

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