Navigation: X# Documentation > X# Compiler Errors and Warnings
Warning XS8846
The switch expression does not handle all possible values of its input type (it is not exhaustive). For example, the pattern '{0}' is not covered. However, a pattern with a 'when' clause might successfully match this value.