tuil
ReferencePackages@mwillbanks/tuil-operationsAPI

OperationError

interface exported by @mwillbanks/tuil-operations.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-operations.

export interface OperationError {
  readonly name: string;
  readonly message: string;
  readonly cause?: unknown;
}

Members

MemberTypeRequiredDescriptionRelated types
namestringYesThe name member uses the string contract.
messagestringYesThe message member uses the string contract.
causeunknownNoThe cause member uses the unknown contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-operations

On this page