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 751296d commit aee11a7Copy full SHA for aee11a7
1 file changed
JSONAPI/Documents/Builders/JsonApiException.cs
@@ -19,7 +19,7 @@ public class JsonApiException : Exception
19
/// Creates a new JsonApiException
20
/// </summary>
21
/// <param name="error"></param>
22
- public JsonApiException(IError error)
+ public JsonApiException(IError error) : base(error?.Detail ?? "An error occurred in JSONAPI")
23
{
24
Error = error;
25
}
0 commit comments