Improve consistency of validation error handling

Utilises common path of existing invalidParameterError
This commit is contained in:
Lovell Fuller
2019-07-26 14:58:49 +01:00
parent 28de243c11
commit 233b015d77
11 changed files with 110 additions and 135 deletions

View File

@@ -215,6 +215,7 @@ const Sharp = function (input, options) {
heifCompression: 'hevc',
tileSize: 256,
tileOverlap: 0,
tileSkipBlanks: -1,
linearA: 1,
linearB: 0,
// Function to notify of libvips warnings