Docs: improve descripion of create/raw props

This commit is contained in:
Lovell Fuller
2021-01-01 14:47:26 +00:00
parent b2a0b8c0f0
commit 39ddb6a175
3 changed files with 13 additions and 13 deletions

View File

@@ -149,7 +149,7 @@ function _createInputDescriptor (input, inputOptions, containerOptions) {
];
delete inputDescriptor.buffer;
} else {
throw new Error('Expected width, height, channels and background to create a new input image');
throw new Error('Expected valid width, height, channels and background to create a new input image');
}
}
} else if (is.defined(inputOptions)) {