Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorInternal = iota ErrorNotAuthorized ErrorNotFound ErrorNameExists ErrorInvalidArgument ErrorNoSpace ErrorNotImplmented ErrorChecksumFail ErrorSizeLimitExceeded ErrorRequestTimeout )
Variables ¶
This section is empty.
Functions ¶
func GetHTTPError ¶
func IsNotFound ¶
func MakeErrorFromHTTP ¶
Types ¶
type Error ¶
type Error struct {
Code errorCode `json:"code"`
Message string `json:"message"`
}
Errors returned by the Fission API.
func (Error) Description ¶
func (Error) HTTPStatus ¶
Click to show internal directories.
Click to hide internal directories.