0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2025-01-11 04:02:03 +00:00
ryujinx-fork/src/Ryujinx.Horizon.Common/InvalidResultException.cs
2023-04-27 23:51:14 +02:00

23 lines
530 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)
{
}
}
}