Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorCode ¶
Types ¶
type PSError ¶
type PSError struct {
ErrorCode ErrorCode `json:"errorCode"`
Message string `json:"message"`
Args []any `json:"args"`
HStatus int32
GStatus codes.Code
OriginalError error
}
func ValidationErrorToPSError ¶
func ValidationErrorToPSError(validationErrors validator.ValidationErrors) PSError
func (PSError) ToGRPCError ¶
Click to show internal directories.
Click to hide internal directories.