Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorDetailsExtractor<E>

Extractor that gets details from an error of type E

Type parameters

  • E: Error

Hierarchy

  • ErrorDetailsExtractor

Implemented by

Index

Properties

Methods

Properties

target: ErrorCtor<E>

Constructor function of an error

Methods

  • extract(error: E): unknown
  • Extracts details from the passed error

    Parameters

    • error: E

      an error, which details should be extracted

    Returns unknown