Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error represents a status code as an error containing another error.
func (*Error) StatusCode ¶
StatusCode returns the status code that exit contains.
type Status ¶
type Status struct {
// contains filtered or unexported fields
}
Status represents a status code as an error.
func (Status) StatusCode ¶
StatusCode returns the status code that exit contains.
type StatusCoder ¶
type StatusCoder interface { // StatusCode returns the status code. StatusCode() int }
StatusCoder is the interface of type that has an status code.
Click to show internal directories.
Click to hide internal directories.