aboutsummaryrefslogblamecommitdiff
path: root/src/Ryujinx.Horizon.Common/InvalidResultException.cs
blob: cf38b64038a506bb33cafde2f28de3c393591e23 (plain) (tree)





















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