# Sandbox.ShaderCompileException

Thrown by [Sandbox.Shader.CompileAsync](/api/Sandbox.Shader/CompileAsync) and
[Sandbox.Shader.CompileFileAsync](/api/Sandbox.Shader/CompileFileAsync) when a shader doesn't compile

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Properties

- [`Errors`](/api/Sandbox.ShaderCompileException/Errors): What the compiler said, with file and line
- [`Path`](/api/Sandbox.ShaderCompileException/Path): The shader that didn't compile
