@@ -163,6 +163,10 @@ the provider wants to generate tokens that are scoped to specific operations.
163
163
``` javascript
164
164
{" Err" : {
165
165
" kind" : " url-not-supported"
166
+ // (Optional) Error message string to be displayed
167
+ " message" : " free form string error message" ,
168
+ // (Optional) Detailed cause chain for the error (optional)
169
+ " caused-by" : [" cause 1" , " cause 2" ]
166
170
}}
167
171
```
168
172
Sent if the credential provider is designed
@@ -177,6 +181,10 @@ available.
177
181
{" Err" : {
178
182
// Error: The credential could not be found in the provider.
179
183
" kind" : " not-found"
184
+ // (Optional) Error message string to be displayed
185
+ " message" : " free form string error message" ,
186
+ // (Optional) Detailed cause chain for the error (optional)
187
+ " caused-by" : [" cause 1" , " cause 2" ]
180
188
}}
181
189
```
182
190
Sent if the credential could not be found. This is expected for
@@ -190,6 +198,10 @@ requests where there is nothing found to erase.
190
198
{" Err" : {
191
199
// Error: The credential could not be found in the provider.
192
200
" kind" : " operation-not-supported"
201
+ // (Optional) Error message string to be displayed
202
+ " message" : " free form string error message" ,
203
+ // (Optional) Detailed cause chain for the error (optional)
204
+ " caused-by" : [" cause 1" , " cause 2" ]
193
205
}}
194
206
```
195
207
Sent if the credential provider does not support the requested operation.
0 commit comments