Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
AcmeException.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4using Waher.Content;
6
8{
12 public class AcmeException : Exception
13 {
14 private readonly string type;
15 private readonly int? status;
16 private readonly AcmeException[] subproblems;
17
18 internal AcmeException(string Type, string Detail, int? Status, AcmeException[] Subproblems)
19 : base(Detail)
20 {
21 this.type = Type;
22 this.status = Status;
23 this.subproblems = Subproblems;
24 }
25
29 public string Type => this.type;
30
34 public int? Status => this.status;
35
39 public AcmeException[] Subproblems => this.subproblems;
40 }
41}
Represents an ACME problem report.
string Type
ACME exception type.
AcmeException[] Subproblems
Sub-problems, if any.
int? Status
Status code, if reported.