Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Name string `json:"name"`
Message string `json:"message"`
StatusCode int
}
func (ErrorResponse) Error ¶
func (err ErrorResponse) Error() string
type InvalidAuthTokenError ¶
type InvalidAuthTokenError struct {
Message string
}
InvalidAuthTokenError is returned when the client has an invalid authorization header.
func (InvalidAuthTokenError) Error ¶
func (e InvalidAuthTokenError) Error() string
type PipeSeekError ¶
type PipeSeekError struct {
// Err is the error that caused the Seek to be called.
Err error
}
PipeSeekError is returned by Pipebomb when a Seek is called.
func (PipeSeekError) Error ¶
func (e PipeSeekError) Error() string
type RawHTTPStatusError ¶
RawHTTPStatusError represents any response with a 4xx or 5xx status code.
func (RawHTTPStatusError) Error ¶
func (r RawHTTPStatusError) Error() string
type UnauthorizedError ¶
type UnauthorizedError struct {
}
UnauthorizedError is returned when the client does not have the correct permissions to execute the request.
func (UnauthorizedError) Error ¶
func (e UnauthorizedError) Error() string
Click to show internal directories.
Click to hide internal directories.