Skip to content

Commit

Permalink
Added a 'MustIgnore' error which can make the server to skin some che…
Browse files Browse the repository at this point in the history
…cks (mostly lock tests)
  • Loading branch information
AdrienCastex committed Jun 19, 2017
1 parent 00661a0 commit aa8a629
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Errors.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export declare const Errors: {
NoMimeTypeForAFolder: Error;
NoSizeForAFolder: Error;
IllegalArguments: Error;
MustIgnore: Error;
None: any;
};
export default Errors;
1 change: 1 addition & 0 deletions lib/Errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ exports.Errors = {
NoMimeTypeForAFolder: new Error('Cannot get the mime type of a folder type resource.'),
NoSizeForAFolder: new Error('Cannot get the size of a folder type resource.'),
IllegalArguments: new Error('Illegal arguments.'),
MustIgnore: new Error('There was an error but it must not stop the processing.'),
None: null
};
exports.default = exports.Errors;
1 change: 1 addition & 0 deletions src/Errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const Errors = {
NoMimeTypeForAFolder: new Error('Cannot get the mime type of a folder type resource.'),
NoSizeForAFolder: new Error('Cannot get the size of a folder type resource.'),
IllegalArguments: new Error('Illegal arguments.'),
MustIgnore: new Error('There was an error but it must not stop the processing.'),

None: null
};
Expand Down

0 comments on commit aa8a629

Please sign in to comment.