Skip to content

Commit

Permalink
Merge branch 'hotfix/0.0.4' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Legenhausen committed Dec 21, 2011
2 parents 2131140 + 56111f4 commit 6799aec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ogone.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ function amountFormator(value) {
}

function OgoneError(response) {
Error.call(this, "NCError: " + response.ncerror || "Unknown");
this.name = "OgoneError";
this.message = "NCError: " + response.ncerror || "Unknown";
this.response = response;
}

Expand Down

0 comments on commit 6799aec

Please sign in to comment.