SpirvCompilationException.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. namespace Veldrid.SPIRV
  3. {
  4. /// <summary>
  5. /// Represents errors that occur in the Veldrid.SPIRV library.
  6. /// </summary>
  7. public class SpirvCompilationException : Exception
  8. {
  9. /// <summary>
  10. /// Constructs a new <see cref="SpirvCompilationException"/>.
  11. /// </summary>
  12. public SpirvCompilationException()
  13. {
  14. }
  15. /// <summary>
  16. /// Constructs a new <see cref="SpirvCompilationException"/> with the given message.
  17. /// </summary>
  18. /// <param name="message">The error message.</param>
  19. public SpirvCompilationException(string message) : base(message)
  20. {
  21. }
  22. /// <summary>
  23. /// Constructs a new <see cref="SpirvCompilationException"/> with the given message and inner exception.
  24. /// </summary>
  25. /// <param name="message">The error message.</param>
  26. /// <param name="innerException">The inner exception.</param>
  27. public SpirvCompilationException(string message, Exception innerException) : base(message, innerException)
  28. {
  29. }
  30. }
  31. }