ErrP
ErrP<T>
Represents an asynchronous error.
ts
type Example = ErrP<boolean>;
// type Example = Promise<{
// readonly ok: false
// readonly value?: undefined
// readonly error: boolean
// }>