mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-16 07:47:44 +01:00
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
23 lines
527 B
C#
23 lines
527 B
C#
using System;
|
|
|
|
namespace Ryujinx.Horizon.Common
|
|
{
|
|
public class InvalidResultException : Exception
|
|
{
|
|
public InvalidResultException()
|
|
{
|
|
}
|
|
|
|
public InvalidResultException(Result result) : base($"Unexpected result code {result} returned.")
|
|
{
|
|
}
|
|
|
|
public InvalidResultException(string message) : base(message)
|
|
{
|
|
}
|
|
|
|
public InvalidResultException(string message, Exception innerException) : base(message, innerException)
|
|
{
|
|
}
|
|
}
|
|
}
|