Errors
<bx:throw type="MyCustomError" message="Something went wrong" detail="More details about the error">throw(type="MyCustomError", message="Something went wrong", detail="More details about the error");<bx:try>
<!--- Some code that might throw an error --->
<bx:throw type="MyCustomError" message="Something went wrong" detail="More details about the error">
<bx:output>
<bx:catch type="MyCustomError">
<!--- Handle the error --->
Error: #bxCatch.message# (#bxCatch.detail#)</bx:output>
</bx:catch>
</bx:output>
</bx:try>Last updated
Was this helpful?
