Documentation ¶
Index ¶
- Variables
- func Assert(condition bool, format string, args ...any)
- func Unreachable[T any](format string, args ...any) T
- func Unreachable2[T1, T2 any](format string, args ...any) (T1, T2)
- func Unreachable3[T1, T2, T3 any](format string, args ...any) (T1, T2, T3)
- func Unreachable4[T1, T2, T3, T4 any](format string, args ...any) (T1, T2, T3, T4)
- func WithTag(err error, tags ...Tag) error
- type Info
- type Tag
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Unreachable ¶ added in v0.0.3
func Unreachable2 ¶ added in v0.0.3
func Unreachable3 ¶ added in v0.0.3
func Unreachable4 ¶ added in v0.0.3
Types ¶
type Tag ¶ added in v0.0.3
type Tag string
const ( BadIndexAccess Tag = "BadIndexAccess" BadKeyAccess Tag = "BadKeyAccess" Unsupported Tag = "Unsupported" Unexpected Tag = "Unexpected" BadConversion Tag = "BadConversion" BadArgs Tag = "BadArgs" BadState Tag = "BadState" IOFailure Tag = "IOFailure" DBFailure Tag = "DBFailure" BadProtoBuf Tag = "BadProtoBuf" BadJSON Tag = "BadJSON" HTTPFailure Tag = "HTTPFailure" GRPCFailure Tag = "GRPCFailure" )
Click to show internal directories.
Click to hide internal directories.