We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5680190 commit e553070Copy full SHA for e553070
src/JsonApiDotNetCore/Exceptions/JsonApiException.cs
@@ -15,7 +15,12 @@ public class JsonApiException : Exception
15
16
public Error Error { get; }
17
18
- public JsonApiException(Error error, Exception innerException = null)
+ public JsonApiException(Error error)
19
+ : this(error, null)
20
+ {
21
+ }
22
+
23
+ public JsonApiException(Error error, Exception innerException)
24
: base(error.Title, innerException)
25
{
26
Error = error;
0 commit comments