Documentation
    Preparing search index...

    Properties for the exception.

    interface IProps<T> {
        description?: string;
        example?: T;
        examples?: Record<string, IExample<T>>;
        status: number | "2XX" | "3XX" | "4XX" | "5XX";
    }

    Type Parameters

    • T
    Index

    Properties

    description?: string

    Description about the exception.

    example?: T

    Example value.

    examples?: Record<string, IExample<T>>

    Collection of examples for the exception.

    status: number | "2XX" | "3XX" | "4XX" | "5XX"

    Status number or pattern like "2XX", "3XX", "4XX", "5XX".