Ryujinx/src/Ryujinx.Horizon.Common/InvalidResultException.cs
TSRBerry 2989c163a8
editorconfig: Set default encoding to UTF-8 (#5793)
* editorconfig: Add default charset

* Change file encoding from UTF-8-BOM to UTF-8
2023-12-04 14:17:13 +01:00

24 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)
{
}
}
}