@quantbrasil/cli 0.1.0-beta.5 → 0.1.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,7 @@ function resolveErrorDetail(payload) {
80
80
  }
81
81
  const detail = payload.detail;
82
82
  const message = payload.message;
83
+ const error = payload.error;
83
84
  if (typeof detail === "string" && detail.trim()) {
84
85
  return detail;
85
86
  }
@@ -94,6 +95,9 @@ function resolveErrorDetail(payload) {
94
95
  if (typeof message === "string" && message.trim()) {
95
96
  return message;
96
97
  }
98
+ if (typeof error === "string" && error.trim()) {
99
+ return error;
100
+ }
97
101
  return null;
98
102
  }
99
103
  function formatValidationDetail(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantbrasil/cli",
3
- "version": "0.1.0-beta.5",
3
+ "version": "0.1.0-beta.6",
4
4
  "type": "module",
5
5
  "description": "Public QuantBrasil CLI for deterministic operations",
6
6
  "repository": {