Versions in this module Expand all Collapse all v0 v0.2.0 Apr 6, 2026 Changes in this version type Error + func As(err error) (Error, bool) + Message func() string v0.1.0 Apr 6, 2026 Changes in this version + func Contains(err error, code Code) bool + func GetStacktrace(err error) string + func IsCode(err error, code Code) bool + func PrintStacktrace(err error) + type Code int + const CodeUnset + type Error interface + Code func() Code + Error func() string + Location func() (string, int) + Unwrap func() error + func New(message string, prev error) Error + func NewWithCode(code Code, message string, prev error) Error