Fixed bug, allow user to define a custom error message
Bump version to 1.1.0