Documentation ¶
Index ¶
- Constants
- func New(message string) error
- func NewAsyncTimeoutError(url string) error
- func NewEmptyDirError(dir string) error
- func NewHTTPError(statusCode int, code string, description string) error
- func NewInvalidTokenError(description string) error
- func NewModelNotFoundError(modelType, name string) error
- func NewNotAuthorizedError() error
- func NewServiceAssociationError() error
- func NewUnbindableServiceError() error
- type AccessDeniedError
- type AsyncTimeoutError
- type EmptyDirError
- type Exception
- type HTTPError
- type HTTPNotFoundError
- type InvalidSSLCert
- type InvalidTokenError
- type ModelAlreadyExistsError
- type ModelNotFoundError
- type NotAuthorizedError
- type ServiceAssociationError
- type UnbindableServiceError
Constants ¶
View Source
const ( MessageParseError = "1001" InvalidRelation = "1002" NotAuthorized = "10003" BadQueryParameter = "10005" UserNotFound = "20003" OrganizationNameTaken = "30002" SpaceNameTaken = "40002" ServiceInstanceNameTaken = "60002" ServiceBindingAppServiceTaken = "90003" UnbindableService = "90005" ServiceInstanceAlreadyBoundToSameRoute = "130008" NotStaged = "170002" InstancesError = "220001" QuotaDefinitionNameTaken = "240002" BuildpackNameTaken = "290001" SecurityGroupNameTaken = "300005" ServiceKeyNameTaken = "360001" )
Variables ¶
This section is empty.
Functions ¶
func NewAsyncTimeoutError ¶
func NewEmptyDirError ¶
func NewInvalidTokenError ¶
func NewModelNotFoundError ¶
func NewNotAuthorizedError ¶
func NewNotAuthorizedError() error
func NewServiceAssociationError ¶
func NewServiceAssociationError() error
func NewUnbindableServiceError ¶
func NewUnbindableServiceError() error
Types ¶
type AccessDeniedError ¶
type AccessDeniedError struct { }
func NewAccessDeniedError ¶
func NewAccessDeniedError() *AccessDeniedError
func (*AccessDeniedError) Error ¶
func (err *AccessDeniedError) Error() string
type AsyncTimeoutError ¶
type AsyncTimeoutError struct {
// contains filtered or unexported fields
}
func (*AsyncTimeoutError) Error ¶
func (err *AsyncTimeoutError) Error() string
type EmptyDirError ¶
type EmptyDirError struct {
// contains filtered or unexported fields
}
func (*EmptyDirError) Error ¶
func (err *EmptyDirError) Error() string
type HTTPNotFoundError ¶
type HTTPNotFoundError struct {
// contains filtered or unexported fields
}
func (*HTTPNotFoundError) StatusCode ¶
func (err *HTTPNotFoundError) StatusCode() int
type InvalidSSLCert ¶
func NewInvalidSSLCert ¶
func NewInvalidSSLCert(url, reason string) *InvalidSSLCert
func (*InvalidSSLCert) Error ¶
func (err *InvalidSSLCert) Error() string
type InvalidTokenError ¶
type InvalidTokenError struct {
// contains filtered or unexported fields
}
func (*InvalidTokenError) Error ¶
func (err *InvalidTokenError) Error() string
type ModelAlreadyExistsError ¶
func NewModelAlreadyExistsError ¶
func NewModelAlreadyExistsError(modelType, name string) *ModelAlreadyExistsError
func (*ModelAlreadyExistsError) Error ¶
func (err *ModelAlreadyExistsError) Error() string
type ModelNotFoundError ¶
func (*ModelNotFoundError) Error ¶
func (err *ModelNotFoundError) Error() string
type NotAuthorizedError ¶
type NotAuthorizedError struct { }
func (*NotAuthorizedError) Error ¶
func (err *NotAuthorizedError) Error() string
type ServiceAssociationError ¶
type ServiceAssociationError struct { }
func (*ServiceAssociationError) Error ¶
func (err *ServiceAssociationError) Error() string
type UnbindableServiceError ¶
type UnbindableServiceError struct { }
func (*UnbindableServiceError) Error ¶
func (err *UnbindableServiceError) Error() string
Source Files ¶
- access_denied_error.go
- cloud_controller_error_codes.go
- empty_dir_error.go
- error.go
- exception.go
- gateway_error.go
- http_error.go
- invalid_ssl_cert_error.go
- invalid_token_error.go
- model_already_exists_error.go
- model_not_found_error.go
- not_authorized_error.go
- service_association_error.go
- unbindable_service_error.go
Click to show internal directories.
Click to hide internal directories.