Updated README, it was describing the wrong return type

Changed where was saying that the functions return a boolean while they actually return an error