aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Horizon.Common/InvalidResultException.cs
blob: cf38b64038a506bb33cafde2f28de3c393591e23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)
        {
        }
    }
}