-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMashapeException.cs
30 lines (28 loc) · 989 Bytes
/
MashapeException.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
namespace Imgur.API
{
/// <summary>
/// The exception that is thrown when an error is found in a response from a Mashape endpoint.
/// </summary>
public class MashapeException : Exception
{
/// <summary>
/// Initializes a new instance of the MashapeException class with a specified error message.
/// </summary>
/// <param name="message">The message that describes the error.</param>
public MashapeException(string message)
: base(message)
{
}
/// <summary>
/// Initializes a new instance of the MashapeException class with a specified error message.
/// </summary>
/// <param name="message">The message that describes the error.</param>
/// <param name="innerException">The exception that is the cause of the current exception.</param>
public MashapeException(string message, Exception innerException)
: base(message, innerException)
{
}
}
}