Is there any way to use a conditional and then throw an error based off of that, or is that not supp

Is there any way to use a conditional and then throw an error based off of that, or is that not supported
Was this page helpful?