package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 16, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
IsNotFound returns true if the error is an Upbound SDK NotFound error, and
false otherwise.
Error is an Upbound SDK error.
New constructs a new Upbound SDK error.
Error returns the error message with the underlying error.
IsNotFound returns true if the error type is ErrorTypeNotFound, and false
otherwise.
ErrorType indicates the type of error.
const (
ErrorTypeForbidden ErrorType = "Forbidden"
ErrorTypeNotFound ErrorType = "NotFound"
ErrorTypeUnauthorized ErrorType = "Unauthorized"
ErrorTypeUnknown ErrorType = "Unknown"
)
Upbound SDK error types.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.