@AppKu/Fairu

@AppKu/Fairu

v1.0.6

Namespace

FairuCallback

Type Definitions

Condition(state) → {Boolean}

Parameters

  • state PathState

    The state of the path as discovered by Fairu.

Returns

  • Boolean

Source

DiscoverErrorHandler(err, state) → {Error}

Parameters

  • err Error

    The error being caught.

  • state PathState

    The state of discovery surrounding a particular path.

Returns

  • Error

    Return null to stop processing the error and don't throw, or return an Error object to continue processing and possibly throw (if enabled).

Source