-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d850324
commit 464fed0
Showing
2 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Fonlow.OpenApiClientGen.ClientTypes | ||
{ | ||
[Serializable] | ||
public class CodeGenOperationException : Exception | ||
{ | ||
public CodeGenOperationException() | ||
{ | ||
|
||
} | ||
|
||
/// <summary> | ||
/// The thrower has no enough info to report, and the catcher with enough info should throw a new one with the info to be displayed in console. | ||
/// </summary> | ||
public bool Pending { get; set; } | ||
|
||
public CodeGenOperationException(string message) : base(message) { } | ||
|
||
public CodeGenOperationException(string message, Exception innerException) : base(message, innerException) { } | ||
} | ||
|
||
[Serializable] | ||
public class CodeGenLoadPluginException : Exception | ||
{ | ||
public CodeGenLoadPluginException() | ||
{ | ||
|
||
} | ||
|
||
public CodeGenLoadPluginException(string message) : base(message) { } | ||
|
||
public CodeGenLoadPluginException(string message, Exception innerException) : base(message, innerException) { } | ||
|
||
public string Description { get; set; } | ||
} | ||
|
||
[Serializable] | ||
public class CodeGenReadPluginException : Exception | ||
{ | ||
public CodeGenReadPluginException() | ||
{ | ||
|
||
} | ||
|
||
public CodeGenReadPluginException(string message) : base(message) { } | ||
|
||
public CodeGenReadPluginException(string message, Exception innerException) : base(message, innerException) { } | ||
|
||
public string Description { get; set; } | ||
} | ||
|
||
} |