12345678910111213141516171819202122232425262728293031323334 |
- using System;
- namespace Veldrid.SPIRV
- {
- /// <summary>
- /// Represents errors that occur in the Veldrid.SPIRV library.
- /// </summary>
- public class SpirvCompilationException : Exception
- {
- /// <summary>
- /// Constructs a new <see cref="SpirvCompilationException"/>.
- /// </summary>
- public SpirvCompilationException()
- {
- }
- /// <summary>
- /// Constructs a new <see cref="SpirvCompilationException"/> with the given message.
- /// </summary>
- /// <param name="message">The error message.</param>
- public SpirvCompilationException(string message) : base(message)
- {
- }
- /// <summary>
- /// Constructs a new <see cref="SpirvCompilationException"/> with the given message and inner exception.
- /// </summary>
- /// <param name="message">The error message.</param>
- /// <param name="innerException">The inner exception.</param>
- public SpirvCompilationException(string message, Exception innerException) : base(message, innerException)
- {
- }
- }
- }
|