Documentation ¶
Index ¶
Constants ¶
View Source
const ( // WTF is panicked from code that should never be reached. WTF = InternalError("should never be called!") // Unimplemented is panicked from functions that aren't implemented yet. // They shouldn't happened outside frozen development. Unimplemented = InternalError("not implemented") // ConsistencyCheck is panicked when an internal consistency check fails. ConsistencyCheck = InternalError("consistency check failure") )
Variables ¶
This section is empty.
Functions ¶
func WrapPrefix ¶
WrapPrefix wraps errors, returning a nil error if the backend errors.WrapPrefix returns a nil *Error.
Types ¶
type InternalError ¶
type InternalError string
func (InternalError) Error ¶
func (e InternalError) Error() string
Click to show internal directories.
Click to hide internal directories.