You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "Action messages. Hints to the users regarding what can be done to fix related issues."
49
+
},
50
+
"exitCode": {
51
+
"type": "number",
52
+
"description": "SfdxCommand can return this process exit code."
53
+
},
54
+
"context": {
55
+
"type": "string",
56
+
"description": "The related context for this error."
57
+
},
58
+
"data": {
59
+
"$ref": "#/definitions/AnyJson"
60
+
}
61
+
},
62
+
"required": ["exitCode", "message", "name"],
63
+
"additionalProperties": false,
64
+
"description": "A generalized sfdx error which also contains an action. The action is used in the CLI to help guide users past the error.\n\nTo throw an error in a synchronous function you must either pass the error message and actions directly to the constructor, e.g.\n\n``` // To load a message bundle (Note that __dirname should contain a messages folder) Messages.importMessagesDirectory(__dirname); const messages = Messages.load('myPackageName', 'myBundleName');\n\n// To throw a non-bundle based error: throw new SfError(message.getMessage('myError'), 'MyErrorName'); ```"
65
+
},
66
+
"AnyJson": {
67
+
"anyOf": [
68
+
{
69
+
"$ref": "#/definitions/JsonPrimitive"
70
+
},
71
+
{
72
+
"$ref": "#/definitions/JsonCollection"
73
+
}
74
+
],
75
+
"description": "Any valid JSON value."
76
+
},
77
+
"JsonPrimitive": {
78
+
"type": ["null", "boolean", "number", "string"],
79
+
"description": "Any valid JSON primitive value."
80
+
},
81
+
"JsonCollection": {
82
+
"anyOf": [
83
+
{
84
+
"$ref": "#/definitions/JsonMap"
85
+
},
86
+
{
87
+
"$ref": "#/definitions/JsonArray"
88
+
}
89
+
],
90
+
"description": "Any valid JSON collection value."
91
+
},
92
+
"JsonMap": {
93
+
"type": "object",
94
+
"additionalProperties": {
95
+
"$ref": "#/definitions/Optional%3CAnyJson%3E"
96
+
},
97
+
"properties": {},
98
+
"description": "Any JSON-compatible object."
99
+
},
100
+
"Optional<AnyJson>": {
101
+
"anyOf": [
102
+
{
103
+
"$ref": "#/definitions/AnyJson"
104
+
},
105
+
{
106
+
"not": {}
107
+
}
108
+
],
109
+
"description": "A union type for either the parameterized type `T` or `undefined` -- the opposite of {@link NonOptional } ."
0 commit comments