Type Alias TransmuterFunction<T>

TransmuterFunction<T>: ((err: T) => SynthesizedError | MysticError)

Type for a transmuter function that transforms an error into either a SynthesizedError or a MysticError.

Type Parameters

  • T = any

Type declaration