This method should be used when there's an expected error
is the error message
Generated using TypeDoc
This method should be used when there's an expected error
Returns