Versions in this module Expand all Collapse all v1 v1.0.1 Jul 26, 2023 v1.0.0 Jul 26, 2023 Changes in this version + var ErrUndefinedErrorCodeEnumValue = errors.New("cannot identify enum for provided value") + func ErrorCodeNames() []string + type ErrorCode int + const ErrorCodeInvalidSQLQuery + const ErrorCodeUnauthorized + const ErrorCodeUndefinedEnumValue + func ErrorCodeValues() []ErrorCode + func LookupErrorCode(id int) (ErrorCode, error) + func ParseErrorCode(name string) (ErrorCode, error) + func (x *ErrorCode) Get() interface{} + func (x *ErrorCode) Scan(value interface{}) error + func (x *ErrorCode) Set(val string) error + func (x *ErrorCode) UnmarshalCSV(b []byte) error + func (x *ErrorCode) UnmarshalJSON(b []byte) error + func (x *ErrorCode) UnmarshalText(text []byte) error + func (x *ErrorCode) UnmarshalYAML(unmarshal func(interface{}) error) error + func (x ErrorCode) CamelCase() string + func (x ErrorCode) Code() int + func (x ErrorCode) CommandCase() string + func (x ErrorCode) Description() string + func (x ErrorCode) DottedCase() string + func (x ErrorCode) Error() string + func (x ErrorCode) ExportRef() string + func (x ErrorCode) ExportType() string + func (x ErrorCode) ID() string + func (x ErrorCode) MarshalCSV() ([]byte, error) + func (x ErrorCode) MarshalJSON() ([]byte, error) + func (x ErrorCode) MarshalText() ([]byte, error) + func (x ErrorCode) MarshalYAML() (interface{}, error) + func (x ErrorCode) Message() string + func (x ErrorCode) Name() string + func (x ErrorCode) Namespace() string + func (x ErrorCode) PackageName() string + func (x ErrorCode) PackagePath() string + func (x ErrorCode) PascalCase() string + func (x ErrorCode) Path() string + func (x ErrorCode) ScreamingCase() string + func (x ErrorCode) SnakeCase() string + func (x ErrorCode) String() string + func (x ErrorCode) TrainCase() string + func (x ErrorCode) Type() string + func (x ErrorCode) Value() (driver.Value, error)