Class IntegrationException
- Namespace
- Integrations.Application.Common
- Assembly
- Integrations.Application.dll
Base for expected failures. Code is a stable, machine-readable error code returned to callers
(RFC 7807 code extension) so they never have to parse messages.
public abstract class IntegrationException : Exception, ISerializable
- Inheritance
-
IntegrationException
- Implements
- Derived
- Inherited Members
Constructors
IntegrationException(string, string, Exception?)
Base for expected failures. Code is a stable, machine-readable error code returned to callers
(RFC 7807 code extension) so they never have to parse messages.
protected IntegrationException(string code, string message, Exception? inner = null)
Parameters
Properties
Code
Stable machine-readable error code, returned as code in the problem details.
public string Code { get; }