# [Ride v4 and v3] Exception functions
⚠️ This is the documentation for the Standard library version 4 and 3. We recommend to use version 6. Go to version 6
|throw()||Raises an exception||1|
|throw(String)||Raises an exception with a message||1|
The return type of
throw is Nothing.
There is no exception handling in Ride: after an exception has been thrown, the script execution fails. The transaction can be rejected or saved on the blockchain as failed, see the Transaction Validation article for details.
Raises an exception.
Raises an exception with a message.
| ||The exception message|