@orbis-systems/orbis-api-clients 0.5.0 → 0.5.1

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.
@@ -460,7 +460,7 @@ class $55172b7592f74810$export$c3b634545cedfd73 extends (0, $584c124673bb843e$ex
460
460
  const errorCode = matched[1]?.toString() || '';
461
461
  return {
462
462
  orbisErrorCode: errorCode,
463
- orbisErrorMessage: this.config.onErrorTranslate?.(errorCode) || (0, $jj7Fj$startCase)((0, $jj7Fj$camelCase)(errorCode.replace('ERR_', '')))
463
+ orbisErrorMessage: this.config.onErrorTranslate?.(errorCode) ?? (0, $jj7Fj$startCase)((0, $jj7Fj$camelCase)(errorCode.replace('ERR_', '')))
464
464
  };
465
465
  }
466
466
  }