Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseError ¶
type BaseError struct {
ErrorString string
}
BaseError implements Error
type Error ¶
type Error interface { Error() string Message() string Propagate() bool // Not all errors should flag the parent as having errors }
Error is a simple error implementation meant to be serializable so we can store errors on batches, titles, issues, and files in the same way we can return them from various operations. Our interface also provides for a Message() function which can be used for more human-friendly output for errors which are user-facing as well as functions which can be used to generally determine how to handle the error.
Click to show internal directories.
Click to hide internal directories.