Navigation: X# Documentation > X# Compiler Errors and Warnings
Error XS8115
A throw expression is not allowed in this context.