Documentation
¶
Index ¶
Constants ¶
View Source
const ( ERR_INTERNAL = "Internal Error" ERR_ASSERT = "Assertion Error" ERR_IO = "I/O Error" ERR_READ = "Reading Error" ERR_WRITE = "Writing Error" ERR_SYNTAX = "Syntax Error" ERR_FORMAT = "Formatting Error" ERR_VALIDATE = "Validation Error" ERR_EXECUTE = "Execution Error" ERR_CONVERT = "Conversion Error" )
Suggested values for DetailedError.Label
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetailedError ¶
func NewIO ¶
func NewIO(err error, path string) *DetailedError
Constructor for the most common error
func (*DetailedError) Error ¶
func (err *DetailedError) Error() string
func (*DetailedError) Print ¶
func (err *DetailedError) Print(writer io.Writer)
type DirContext ¶
type DirContext struct {
Path string
}
func NewDirContext ¶ added in v1.0.2
func NewDirContext(path string) DirContext
func (DirContext) Print ¶
func (context DirContext) Print(writer io.Writer)
type FileContext ¶
func (FileContext) Print ¶
func (context FileContext) Print(writer io.Writer)
Click to show internal directories.
Click to hide internal directories.