Skip to content

Commit 7fc05ee

Browse files
authored
Update response-error.js
Correct descriptions for request and statusCode fields.
1 parent 05be6cf commit 7fc05ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/errors/response-error.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const ae = require("./api-error");
77
class ResponseError extends ae.ApiError {
88
/**
99
* Create the exception
10-
* @param {Request} request - ID of the item which will be modified
11-
* @param {number} statusCode - The values for the individual properties
10+
* @param {Request} request - Request which caused the exception
11+
* @param {number} statusCode - The returned status code
1212
* @param {string} message - Error message from the API
1313
*/
1414
constructor(request, statusCode, message) {

0 commit comments

Comments
 (0)