errors

package
v1.2.14 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigContentNotExistsError

func NewConfigContentNotExistsError(key string) error

func NewConfigFilepathIsDirError

func NewConfigFilepathIsDirError(path string) error

func NewEmptyLogEntryError

func NewEmptyLogEntryError() error

func NewFileWriterWriteToDirectoryError

func NewFileWriterWriteToDirectoryError(path string) error

func NewUnSupportedConfigExtensionError

func NewUnSupportedConfigExtensionError(extension string) error

Types

type ConfigContentNotExistsError

type ConfigContentNotExistsError struct {
	Key string
}

func (ConfigContentNotExistsError) Error

type ConfigFilePathIsDirError

type ConfigFilePathIsDirError struct {
	Path string
}

func (ConfigFilePathIsDirError) Error

func (e ConfigFilePathIsDirError) Error() string

type EmptyLogEntryError

type EmptyLogEntryError struct{}

func (EmptyLogEntryError) Error

func (e EmptyLogEntryError) Error() string

type FileWriterWriteToDirectoryError

type FileWriterWriteToDirectoryError struct {
	Path string
}

func (FileWriterWriteToDirectoryError) Error

type InvalidTimezoneError added in v1.2.11

type InvalidTimezoneError struct {
	Timezone string `json:"timezone"`
}

func NewInvalidTimezoneError added in v1.2.11

func NewInvalidTimezoneError(timezone string) InvalidTimezoneError

func (InvalidTimezoneError) Error added in v1.2.11

func (e InvalidTimezoneError) Error() string

type LocalTimezoneAlreadySetError

type LocalTimezoneAlreadySetError struct{}

func NewLocalTimezoneAlreadySetError

func NewLocalTimezoneAlreadySetError() LocalTimezoneAlreadySetError

func (LocalTimezoneAlreadySetError) Error

type PromiseCompletedError

type PromiseCompletedError struct{}

func NewPromiseCompletedError

func NewPromiseCompletedError() PromiseCompletedError

func (PromiseCompletedError) Error

func (e PromiseCompletedError) Error() string

type UnsupportedConfigExtensionError

type UnsupportedConfigExtensionError struct {
	Extension string
}

func (UnsupportedConfigExtensionError) Error

Jump to

Keyboard shortcuts

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