Commit d91340f1 authored by analog-nico's avatar analog-nico
Browse files

Added comments

parent f31c36f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ function RequestError(cause) {
    this.message = String(cause);
    this.cause = cause;

    if (Error.captureStackTrace) {
    if (Error.captureStackTrace) { // if required for non-V8 envs - see PR #40
        Error.captureStackTrace(this);
    }

@@ -22,7 +22,7 @@ function StatusCodeError(statusCode, message) {
    this.statusCode = statusCode;
    this.message = statusCode + ' - ' + message;

    if (Error.captureStackTrace) {
    if (Error.captureStackTrace) { // if required for non-V8 envs - see PR #40
        Error.captureStackTrace(this);
    }