Interface MessageValidationErrorOptions<T>

Options for initializing a MessageValidationError.

interface MessageValidationErrorOptions {
    cause?: unknown;
    code?: MessageValidationErrorCode;
    detail?: T;
}

Type Parameters

  • T

Hierarchy

Properties

Properties

cause?: unknown

Error code.

detail?: T

Error details.

Generated using TypeDoc