diff --git a/packages/lib/src/utils/errors/DeployError.js b/packages/lib/src/utils/errors/DeployError.js
index <HASH>..<HASH> 100644
--- a/packages/lib/src/utils/errors/DeployError.js
+++ b/packages/lib/src/utils/errors/DeployError.js
@@ -1,17 +1,9 @@
 'use strict'
 
 export class DeployError extends Error {
-  constructor(message, thepackage, directory) {
+  constructor(message, props) {
     super(message)
-    this.package = thepackage
-    this.directory = directory
-  }
-}
-
-export class AppDeployError extends DeployError {
-  constructor(message, thepackage, directory, app) {
-    super(message, thepackage, directory)
-    this.app = app
+    Object.keys(props).forEach(prop => this[prop] = props[prop])
   }
 }
Reimplement DeployError to support generic errors