diff --git a/src/jio/core/restCommandRejecter.js b/src/jio/core/restCommandRejecter.js
index c359a2fdbaeb0bce01135da6b1d986e90836f590..b190a5edd03a3681c56fe2fd68e362c71833f40a 100644
--- a/src/jio/core/restCommandRejecter.js
+++ b/src/jio/core/restCommandRejecter.js
@@ -51,6 +51,10 @@ function restCommandRejecter(param, args) {
 
   if (typeof a === 'object' && !Array.isArray(a)) {
     dictUpdate(weak, a);
+    if (a instanceof Error) {
+      weak.reason = a.message;
+      weak.error = a.name;
+    }
   }
 
   dictUpdate(weak, strong);