Versions in this module Expand all Collapse all v0 v0.2.0 Oct 27, 2026 v0.1.0 Oct 16, 2026 Changes in this version + func IsErrorCode(err error, code ErrorCode) bool + type ErrorCode int32 + const ErrorCodeGeneral + const ErrorCodeValidationFailed + type PSError struct + Args []any + ErrorCode ErrorCode + GStatus codes.Code + HStatus int32 + Message string + OriginalError error + func ValidationErrorToPSError(validationErrors validator.ValidationErrors) PSError + func (e PSError) Error() string + func (e PSError) ToGRPCError() error + func (e PSError) Unwrap() error