Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalError ¶
func NewRPCError ¶
Types ¶
type BaseCustomError ¶
type BaseCustomError struct {
// contains filtered or unexported fields
}
BaseCustomError is the base error for custom errors
func (BaseCustomError) Error ¶
func (e BaseCustomError) Error() string
func (BaseCustomError) Unwrap ¶
func (e BaseCustomError) Unwrap() error
type InternalError ¶
type InternalError struct {
*BaseCustomError
}
InternalError is the implementation of the SystemError interface that's used for system consumption only represents errors at the enclave layer
func (InternalError) Is ¶
func (e InternalError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.