Cotal TypeScript packages
Docs
API Reference
Preparing search index...
@cotal-ai/workspace
index
exitCode
Function exitCode
exitCode
(
outcome
:
Outcome
,
code
?:
ErrorCode
)
:
number
The exit code of a finite outcome, or a throw when the code does not belong to the outcome.
Parameters
outcome
:
Outcome
Optional
code
:
ErrorCode
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Docs
API Reference
Cotal TypeScript packages
Loading...
The exit code of a finite outcome, or a throw when the code does not belong to the outcome.