method Fault.build
Fault.build(type)

Builder for Fault instructions. Suitable for service-specific faults only.

Parameters

type

The type of the raised fault.

Return Type

Throws

TypeError

Usage

import { Fault } from ".";