BSB Node.js Type Definitions
BSB Docs
GitHub
Preparing search index...
Result
Type Alias Result<T, E>
Result
:
|
{
success
:
true
;
data
:
T
;
error
?:
never
}
|
{
success
:
false
;
data
?:
never
;
error
:
E
}
Result pattern for better error handling without exceptions
Type Parameters
T
E
=
Error
Settings
Member Visibility
Protected
Inherited
External
Alpha
Beta
Theme
OS
Light
Dark
BSB Documentation
Plugin System
Node.js Guide
BSB Docs
GitHub
BSB Node.js Type Definitions
Loading...
Result pattern for better error handling without exceptions