Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/juju/errors
/ types & classes
Types & classes
24 in github.com/juju/errors
⨍
Functions
158
◇
Types & classes
24
↓ 20 callers
TypeAlias
ConstError
a ConstError is a prototype for a certain type of error
errortypes.go:14
Interface
ComplexErrorMessage
functions_test.go:406
Struct
Err
Err holds a description of an error along with information about where the error was created. It may be embedded in custom error types to add extra i
error.go:16
Interface
Locationer
Locationer is an interface that represents a certain class of errors that contain the location information from where they were raised.
error.go:37
Struct
MyError
functions_test.go:517
Struct
basicError
functions_test.go:338
Interface
causer
functions.go:214
Struct
complexError
functions_test.go:411
Struct
complexErrorOther
functions_test.go:423
Struct
containsChecker
containsChecker is a copy of the containsChecker from juju/testing
checkers_test.go:15
Struct
errWithType
errWithType is an Err bundled with its error type (a ConstError)
errortypes.go:61
Struct
errorInfo
errorInfo holds information about a single error type: its type and name, wrapping and variable arguments constructors and message suffix.
errortypes_test.go:17
Struct
errorTest
errortypes_test.go:56
Struct
errorTypeSuite
errortypes_test.go:45
Struct
error_
This is an uncomparable error type, as it is a struct that supports the error interface (as opposed to a pointer type).
error_test.go:177
Struct
errorsSuite
error_test.go:15
Struct
fmtNoop
fmtNoop provides an internal type for wrapping errors so they won't be printed in fmt type commands. As this type is used by the Hide function it's ex
functions.go:426
Struct
functionSuite
functions_test.go:20
Struct
locationError
locationError is the internal implementation of the Locationer interface.
error.go:44
Struct
satisfiesChecker
satisfiesChecker is a copy of the satisfiesChecker from juju/testing
checkers_test.go:20
Struct
testError
The testError is a value type error for ease of seeing results when the test fails.
error_test.go:197
Interface
tracer
functions_test.go:192
TypeAlias
unformatter
helper for Format
error.go:201
Interface
wrapper
functions.go:218