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
      ¶
    
  
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       This file was generated by counterfeiter 
         | 
      This file was generated by counterfeiter | 
 Click to show internal directories. 
   Click to hide internal directories.