@salesforce/sf-plugins-core
Preparing search index...
SfCommandError
SfCommandErrorOptions
Type Alias SfCommandErrorOptions<T>
type
SfCommandErrorOptions
<
T
extends
ErrorDataProperties
=
ErrorDataProperties
>
=
{
actions
?:
string
[]
;
cause
?:
unknown
;
code
:
string
;
commandName
:
string
;
context
?:
string
;
data
?:
T
;
exitCode
:
number
;
message
:
string
;
name
?:
string
;
result
?:
unknown
;
warnings
?:
(
StructuredMessage
|
string
)
[]
;
}
Type Parameters
T
extends
ErrorDataProperties
=
ErrorDataProperties
Index
Properties
actions?
cause?
code
command
Name
context?
data?
exit
Code
message
name?
result?
warnings?
Properties
Optional
actions
actions
?:
string
[]
Optional
cause
cause
?:
unknown
code
code
:
string
command
Name
commandName
:
string
Optional
context
context
?:
string
Optional
data
data
?:
T
exit
Code
exitCode
:
number
message
message
:
string
Optional
name
name
?:
string
Optional
result
result
?:
unknown
Optional
warnings
warnings
?:
(
StructuredMessage
|
string
)
[]
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
actions
cause
code
command
Name
context
data
exit
Code
message
name
result
warnings
@salesforce/sf-plugins-core
Loading...