Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code string
Code define provider defined stable code. Each provider has own code-registry, but we have global registry to dedup them in case we have duplicate we will panic at start
type CodedError ¶
type CodedError interface { error // Code is an uniq identifier of some specific error that can be referred from documentation or code / sdk. Code() Code }
CodedError is an error with an attached code
Click to show internal directories.
Click to hide internal directories.