mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Greenfield: Improve error message, do not use internal lightning node on store's lightning API
This commit is contained in:
19
BTCPayServer/JsonHttpException.cs
Normal file
19
BTCPayServer/JsonHttpException.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
namespace BTCPayServer
|
||||
{
|
||||
public class JsonHttpException : Exception
|
||||
{
|
||||
public JsonHttpException(IActionResult actionResult)
|
||||
{
|
||||
ActionResult = actionResult;
|
||||
}
|
||||
|
||||
public IActionResult ActionResult { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user