nucleuserrors

package
v0.4.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

func New

func New(err error) error

Wraps an error as an internal error. If the error is already an RPC error, returns that instead

func NewAlreadyExists

func NewAlreadyExists(message string) error

func NewBadRequest

func NewBadRequest(message string) error

func NewForbidden

func NewForbidden(message string) error

func NewInternalError

func NewInternalError(message string) error

func NewNotFound

func NewNotFound(message string) error

func NewNotImplemented

func NewNotImplemented(message string) error

func NewUnauthenticated

func NewUnauthenticated(message string) error

func NewUnauthorized

func NewUnauthorized(message string) error

Identical to NewUnauthenticated

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL