Endo API documentation - v0.2.0 / Exports / @endo/init / AssertionUtilities
Interface: AssertionUtilities
@endo/init.AssertionUtilities
Table of contents
Methods
Methods
Fail
▸ Fail(template
, ...args
): never
Parameters
Name | Type |
---|---|
template | string [] | TemplateStringsArray |
...args | any |
Returns
never
Defined in
bare
▸ bare(payload
, spaces?
): ToStringable
Parameters
Name | Type |
---|---|
payload | any |
spaces? | string | number |
Returns
Defined in
details
▸ details(template
, ...args
): DetailsToken
Parameters
Name | Type |
---|---|
template | string [] | TemplateStringsArray |
...args | any |
Returns
Defined in
error
▸ error(details?
, errConstructor?
, options?
): Error
Parameters
Name | Type |
---|---|
details? | Details |
errConstructor? | GenericErrorConstructor |
options? | AssertMakeErrorOptions |
Returns
Error
Defined in
note
▸ note(error
, details
): void
Parameters
Name | Type |
---|---|
error | Error |
details | Details |
Returns
void
Defined in
quote
▸ quote(payload
, spaces?
): ToStringable
Parameters
Name | Type |
---|---|
payload | any |
spaces? | string | number |