Documentation ¶
Index ¶
- Variables
- func Aborted(format string, args ...any) error
- func AlreadyExists(format string, args ...any) error
- func DeadlineExceeded(format string, args ...any) error
- func Internal(format string, args ...any) error
- func InvalidArgument(format string, args ...any) error
- func MethodNotAllowed(format string, args ...any) error
- func NotFound(format string, args ...any) error
- func PermissionDenied(format string, args ...any) error
- func ResourceExhausted(format string, args ...any) *api.TigrisError
- func Unauthenticated(format string, args ...any) error
- func Unimplemented(format string, args ...any) error
- func Unknown(format string, args ...any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( As = errors.As Is = errors.Is )
Functions ¶
func AlreadyExists ¶
AlreadyExists construct conflict error (HTTP: 409).
func DeadlineExceeded ¶
DeadlineExceeded constructs timeout error (HTTP: 504).
func InvalidArgument ¶
InvalidArgument constructs bad request error (HTTP: 400).
func MethodNotAllowed ¶
MethodNotAllowed constructs method not allowed error (HTTP: 405).
func PermissionDenied ¶
PermissionDenied constructs forbidden error (HTTP: 403).
func ResourceExhausted ¶
func ResourceExhausted(format string, args ...any) *api.TigrisError
ResourceExhausted constructs too many requests error (HTTP: 429).
func Unauthenticated ¶
Unauthenticated construct unauthorized error (HTTP: 401).
func Unimplemented ¶
Unimplemented constructs not implemented error (HTTP: 501).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.