aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon.Common/InvalidResultException.cs
blob: 80621f45ff27f7f25de6dd169c0a7c92ac389ae6 (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)
        {
        }
    }
}