ErrorParams
Defines the parameters required to construct an SDKError.
type ErrorParams = {
cause?: unknown; /** Additional data to include in the error response. */
data?: Record<string, unknown>; /** The error message. */
message: string; /** The HTTP status code associated with this error. */
statusCode: number; /** The full request url. */
url: string;
};