Raise Error
Raises a runtime error with a message and optional code.
message (String): The error message.
String
code (String): (Optional) Error code (e.g., “ValueError”).
error("Invalid input") error("ValueError", "Must be positive")
is_error, assert