@deep/nest-kit
    Preparing search index...

    Interface DestructuredError

    Error object that is destructured and logged by WinstonLogger

    interface DestructuredError {
        body?: unknown;
        context?: WinstonLoggerContext;
        error?: DestructuredError;
        errorKey?: string;
        message?: string;
        stack?: string;
        statusCode?: number;
    }
    Index

    Properties

    body?: unknown

    Response body if error is HTTPError

    Error context (additional data)

    Child error.

    errorKey?: string

    Error key from 'enum'

    'NST_SA_EMAIL_NOT_UNIQUE'
    
    message?: string

    Error message text

    stack?: string

    Error stack from Error object (Error.stack)

    statusCode?: number

    HTTP status code

    400