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
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
When calling package.createPackage(...) and an error is generated, the code does not reject the Promise. Instead the error bubbles up in the .then().
package.createPackage({
packageName: 'name',
packageDescription: 'description',
metadata: [{tag: 'source', value: 'sec.gov'}] // tag is case sensitive and should be `Source`
}).then(res => {
// res is the error returned from the server
}).catch(err => {
// flow should go through catch
});
When calling
package.createPackage(...)and an error is generated, the code does not reject the Promise. Instead the error bubbles up in the.then().