package
0.1.2
Repository: https://github.com/jcdotter/go.git
Documentation: pkg.go.dev

# Functions

Aborted returns an error representing an operation aborted by the system.
go:noescapego:linkname As errors.As.
Cancelled returns an error representing the cancellation of an operation.
DataLoss returns an error representing unrecoverable data loss or corruption.
Deadline returns an error representing a deadline exceeded.
Exhausted returns an error representing a resource exhausted.
Exists returns an error representing an entity already exists.
Failed returns an error representing an operation failed preconditions.
Internal returns an error representing an internal system error.
Invalid returns an error representing an invalid argument.
go:noescapego:linkname Is errors.Is.
go:noescapego:linkname Join errors.Join.
Msg returns a formatted message.
New returns an error with the supplied message.
NewStatus returns a new status with the supplied code and message.
NotFound returns an error representing an entity not found.
Permission returns an error representing a permission denied.
Postgres returns a status representing a PostgreSQL error.
Range returns an error representing an operation out of valid range.
Unauthenticated returns an error representing a caller not authenticated.
Unavailable returns an error representing a service unavailable.
Unimplemented returns an error representing an operation not implemented or not supported.
Unknown returns an error representing an unknown error.
go:noescapego:linkname Unwrap errors.Unwrap.

# Constants

operation aborted by the system.
operation cancelled by caller.
unrecoverable data loss or corruption.
operation deadline exceeded.
resource exhausted beyond allowable limit.
entity already exists.
operation failed preconditions.
internal system error.
invalid argument from caller.
entity not found.
ok.
permission denied, caller does not have permission.
operation out of valid range.
caller is not authenticated.
service unavailable, try again later.
operation not implemented or not supported.
unknown error.

# Structs

Status represents the error status and details.

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author