mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-18 22:58:43 +02:00
24 lines
530 B
C#
24 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)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|