error-mapper-decorator
    Preparing search index...

    Interface MapErrorsOptions

    Options for the whole-class form of MapErrors.

    interface MapErrorsOptions {
        exclude?: readonly string[];
        include?: readonly string[];
        pipeline?: boolean;
    }
    Index

    Properties

    exclude?: readonly string[]

    Methods this class's rules should skip; subtracted from the selected set.

    include?: readonly string[]

    Apply this class's rules only to these methods. Defaults to all of them.

    pipeline?: boolean

    Evaluate the resolved rule list as a pipeline (the default): each rule fires at most once, in specificity order, threading its result into the next — so an A → B rule followed by a B → C rule maps a thrown A all the way to C. Set false to stop at the first matching rule instead.