Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Separator = "::"
Functions ¶
Types ¶
type Kind ¶
type Kind uint8
Kind kind of error.
const ( Other Kind = iota // Unclassified error. Invalid // Invalid operation for this type of item. IO // External I/O error such as network failure. Internal // Internal error or inconsistency. EvalTimeout // Evaluation timed out. LanguageNotFound // Language not found. )
Kinds of errors.
func (Kind) HTTPStatus ¶
HTTPStatus transforms error kind to HTTP status code
Click to show internal directories.
Click to hide internal directories.