Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BusinessErrorToGRPCStatus ¶
BusinessErrorToGRPCStatus converts businessError to gRPC status
func GetBusinessError ¶
func GetBusinessError(err error) *businessError
GetBusinessError returns businessError if err is a business error, nil otherwise
func NewInvalidArgumentError ¶
func NewInvalidArgumentError(err error) *businessError
func NewNotFoundError ¶
func NewNotFoundError(err error) *businessError
Constructor functions for different error types
Types ¶
Click to show internal directories.
Click to hide internal directories.