Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrNotFound = errors.New("not found") ErrUnauthorized = errors.New("unauthorized") // ErrUnsupportedOperation marks an operation the git server's provider does not implement. ErrUnsupportedOperation = errors.New("unsupported operation") )
Predefined errors
Functions ¶
func UnsupportedOperation ¶ added in v0.8.0
UnsupportedOperation returns an error matching ErrUnsupportedOperation that names the git provider and the OpenAPI operationId.
Types ¶
type InvalidParamError ¶ added in v0.7.0
InvalidParamError reports a request parameter the server cannot use. Param is the parameter name from the OpenAPI spec; Err is the cause and must not be nil.
func (*InvalidParamError) Error ¶ added in v0.7.0
func (e *InvalidParamError) Error() string
Error implements the error interface.
func (*InvalidParamError) Unwrap ¶ added in v0.7.0
func (e *InvalidParamError) Unwrap() error
Unwrap returns the cause.