MCPcopy Create free account

hub / github.com/juju/errors / functions

Functions158 in github.com/juju/errors

FunctionNewNotImplemented
NewNotImplemented returns an error which wraps err and satisfies Is(err, NotImplemented) and the Locationer interface.
errortypes.go:222
FunctionNewNotProvisioned
NewNotProvisioned returns an error which wraps err and satisfies Is(err, NotProvisioned) and the Locationer interface.
errortypes.go:318
FunctionNewNotSupported
NewNotSupported returns an error which satisfies Is(err, NotSupported) and the Locationer interface.
errortypes.go:270
FunctionNewNotValid
NewNotValid returns an error which wraps err and satisfies Is(err, NotValid) and the Locationer interface.
errortypes.go:294
FunctionNewNotYetAvailable
NewNotYetAvailable returns an error which wraps err and satisfies Is(err, NotYetAvailable) and the Locationer interface.
errortypes.go:462
FunctionNewQuotaLimitExceeded
NewQuotaLimitExceeded returns an error which wraps err and satisfies Is(err, QuotaLimitExceeded) and the Locationer interface.
errortypes.go:438
FunctionNewTimeout
NewTimeout returns an error which wraps err and satisfies Is(err, Timeout) and the Locationer interface.
errortypes.go:126
FunctionNewUnauthorized
NewUnauthorized returns an error which wraps err and satisfies Is(err, Unathorized) and the Locationer interface.
errortypes.go:198
FunctionNewUserNotFound
NewUserNotFound returns an error which wraps err and satisfies Is(err, UserNotFound) and the Locationer interface.
errortypes.go:174
FunctionNotAssignedf
NotAssignedf returns an error which satisfies Is(err, NotAssigned) and the Locationer interface.
errortypes.go:333
FunctionNotFoundf
NotFoundf returns an error which satisfies Is(err, NotFound) and the Locationer interface.
errortypes.go:141
FunctionNotImplementedf
NotImplementedf returns an error which satisfies Is(err, NotImplemented) and the Locationer interface.
errortypes.go:213
FunctionNotProvisionedf
NotProvisionedf returns an error which satisfies Is(err, NotProvisioned) and the Locationer interface.
errortypes.go:309
FunctionNotSupportedf
NotSupportedf returns an error which satisfies Is(err, NotSupported) and the Locationer interface.
errortypes.go:261
FunctionNotValidf
NotValidf returns an error which satisfies Is(err, NotValid) and the Locationer interface.
errortypes.go:285
FunctionNotYetAvailablef
NotYetAvailablef returns an error which satisfies Is(err, NotYetAvailable) and the Locationer interface.
errortypes.go:453
FunctionQuotaLimitExceededf
QuotaLimitExceededf returns an error which satisfies Is(err, QuotaLimitExceeded) and the Locationer interface.
errortypes.go:429
MethodStackTrace
StackTrace returns one string for each location recorded in the stack of errors. The first value is the originating error, with a line for each other
error.go:214
FunctionTest
(t *testing.T)
package_test.go:14
MethodTestAllErrors
(c *gc.C)
errortypes_test.go:138
MethodTestAnnotate
(c *gc.C)
functions_test.go:55
MethodTestAnnotatef
(c *gc.C)
functions_test.go:67
MethodTestAs
(c *gc.C)
functions_test.go:346
MethodTestAsType
(c *gc.C)
functions_test.go:465
MethodTestCause
(c *gc.C)
functions_test.go:164
MethodTestDeferredAnnotatef
(c *gc.C)
functions_test.go:79
MethodTestDeferredAnnotatef
(c *gc.C)
errortypes_test.go:108
MethodTestErrorStack
(c *gc.C)
functions_test.go:196
MethodTestErrorString
err varSomeErr
error_test.go:21
MethodTestErrorf
(c *gc.C)
functions_test.go:34
MethodTestFormat
(c *gc.C)
functions_test.go:306
MethodTestHasType
(c *gc.C)
functions_test.go:445
MethodTestHideErrorStillReturnsErrorString
(c *gc.C)
functions_test.go:392
MethodTestIs
(c *gc.C)
functions_test.go:363
MethodTestMask
(c *gc.C)
functions_test.go:142
MethodTestMaskf
(c *gc.C)
functions_test.go:153
MethodTestNew
(c *gc.C)
functions_test.go:25
MethodTestNewErr
(c *gc.C)
error_test.go:142
MethodTestNewErrWithCause
(c *gc.C)
error_test.go:156
MethodTestQuietWrappedErrorStillSatisfied
(c *gc.C)
functions_test.go:399
MethodTestSetLocation
(c *gc.C)
functions_test.go:382
MethodTestSetLocationWithNilError
(c *gc.C)
functions_test.go:378
MethodTestThatYouAlwaysGetError
TestThatYouAlwaysGetError is a regression test for checking that the wrap constructor for our error types always returns a valid error object even if
errortypes_test.go:174
MethodTestTrace
(c *gc.C)
functions_test.go:43
MethodTestUnwrapNewErrGivesNil
(c *gc.C)
error_test.go:170
MethodTestWithType
(c *gc.C)
errortypes_test.go:186
MethodTestWithTypeNil
(c *gc.C)
errortypes_test.go:181
MethodTestWrap
(c *gc.C)
functions_test.go:98
MethodTestWrapOfNil
(c *gc.C)
functions_test.go:112
MethodTestWrapf
(c *gc.C)
functions_test.go:121
MethodTestWrapfOfNil
(c *gc.C)
functions_test.go:133
FunctionTimeoutf
Timeoutf returns an error which satisfies Is(err, Timeout) and the Locationer interface.
errortypes.go:117
FunctionUnauthorizedf
Unauthorizedf returns an error that satisfies Is(err, Unauthorized) and the Locationer interface.
errortypes.go:189
MethodUnderlying
Underlying returns the previous error in the error stack, if any. A client should not ever really call this method. It is used to build the error sta
error.go:136
MethodUnwrap
()
error.go:77
MethodUnwrap
Unwrap is a synonym for Underlying, which allows Err to be used with the Unwrap, Is and As functions in Go's standard `errors` library.
error.go:225
MethodUnwrap
Unwrap an errWithType gives the underlying Err
errortypes.go:75
FunctionUserNotFoundf
UserNotFoundf returns an error which satisfies Is(err, UserNotFound) and the Locationer interface.
errortypes.go:165
← previous101–158 of 158, ranked by callers