@projetoacbr/acbrlib-base-node 1.0.8 → 1.0.9

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.
package/dist/src/index.js CHANGED
@@ -381,8 +381,7 @@ class ACBrLibBaseMT {
381
381
  if (!this._isResultErrorCode(result)) {
382
382
  return;
383
383
  }
384
- let errorMessage = this.#isInitialized()
385
- ? this.ultimoRetorno() : "Biblioteca não inicializada";
384
+ let errorMessage = this.#isInitialized() ? `${result}: ${this.ultimoRetorno()}` : `${result}: Biblioteca não inicializada`;
386
385
  switch (result) {
387
386
  case ACBrLibResultCodes_1.ACBrLibResultCodes.ErrLibNaoInicializada:
388
387
  throw new exception_1.ACBrLibLibNaoInicializadaError("Erro ao inicializar " + this.constructor.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projetoacbr/acbrlib-base-node",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",