Remove BoxError.UNKNOWN_ERROR

This commit is contained in:
Girish Ramakrishnan
2019-11-22 14:27:41 -08:00
parent 2e94600afe
commit f543b98764
2 changed files with 3 additions and 5 deletions
-1
View File
@@ -60,7 +60,6 @@ BoxError.OPENSSL_ERROR = 'OpenSSL Error';
BoxError.PLAN_LIMIT = 'Plan Limit';
BoxError.TASK_ERROR = 'Task Error';
BoxError.TRY_AGAIN = 'Try Again';
BoxError.UNKNOWN_ERROR = 'Unknown Error'; // only used for porting
BoxError.prototype.toPlainObject = function () {
return _.extend({}, { message: this.message, reason: this.reason }, this.details);