common_errors

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigIOError

type ConfigIOError struct {
	File string
	Err  error
}

ConfigIOError represents error associated with IO interaction.

func (ConfigIOError) Error

func (cie ConfigIOError) Error() string

type ConfigNotFound

type ConfigNotFound struct {
	File string
	Err  error
}

ConfigNotFound returns when the specified config File is missing.

func (ConfigNotFound) Error

func (cnf ConfigNotFound) Error() string

type ConfigParsingError

type ConfigParsingError struct {
	File string
	Err  error
}

ConfigParsingError represents error associated with YAML parsing.

func (ConfigParsingError) Error

func (cpe ConfigParsingError) Error() string

type KeyNotFoundError

type KeyNotFoundError struct {
	Key string
}

ParamNotFoundError represents an error when a desire key doesn't exist.

func (KeyNotFoundError) Error

func (knfe KeyNotFoundError) Error() string

type TemplateParsingError

type TemplateParsingError struct {
	Err      error
	Template string
}

TemplateParsingError represents a template parsing error.

func (TemplateParsingError) Error

func (tpe TemplateParsingError) Error() string

Jump to

Keyboard shortcuts

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