Axinom Mosaic Libraries
    Preparing search index...

    Type Alias MosaicErrorMapper<TCustomInfo>

    MosaicErrorMapper: (
        error: Error,
        context?: TCustomInfo,
    ) => MosaicErrorInfo | undefined

    A mapper function that takes an Error and maps it to a more user-friendly error. An extra context can optionally be passed to customize the mapping logic.

    Type Parameters

    • TCustomInfo = any

    Type Declaration