— The shape of the success payload. When there is no err
property, the result
will have exactly these properties.
— The shape of the error payload. Must include an err: ChartbreakerError
property.
When err
is present, the result will have exactly these properties, and
any keys in Data
that aren’t in ErrData
are disallowed.
Generic discriminated union for a successful result or an error.