Skip to content

Endo API documentation - v0.2.0 / Exports / ses / AssertionUtilities

Interface: AssertionUtilities

ses.AssertionUtilities

Table of contents

Methods

Methods

Fail

Fail(template, ...args): never

Parameters

NameType
templatestring[] | TemplateStringsArray
...argsany

Returns

never

Defined in

types.d.ts:223


bare

bare(payload, spaces?): ToStringable

Parameters

NameType
payloadany
spaces?string | number

Returns

ToStringable

Defined in

types.d.ts:225


details

details(template, ...args): DetailsToken

Parameters

NameType
templatestring[] | TemplateStringsArray
...argsany

Returns

DetailsToken

Defined in

types.d.ts:219


error

error(details?, errConstructor?, options?): Error

Parameters

NameType
details?Details
errConstructor?GenericErrorConstructor
options?AssertMakeErrorOptions

Returns

Error

Defined in

types.d.ts:213


note

note(error, details): void

Parameters

NameType
errorError
detailsDetails

Returns

void

Defined in

types.d.ts:218


quote

quote(payload, spaces?): ToStringable

Parameters

NameType
payloadany
spaces?string | number

Returns

ToStringable

Defined in

types.d.ts:224