Class UserFriendlyException
This exception type is directly shown to the user.
Inherited Members
Namespace: Volo.Abp
Assembly: Volo.Abp.Core.dll
Syntax
public class UserFriendlyException : BusinessException, IHasErrorCode, IHasErrorDetails, IHasLogLevel, IUserFriendlyException, IBusinessException
Constructors
UserFriendlyException(SerializationInfo, StreamingContext)
Constructor for serializing.
Declaration
public UserFriendlyException(SerializationInfo serializationInfo, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | serializationInfo | |
StreamingContext | context |
UserFriendlyException(String, String, String, Exception, LogLevel)
Declaration
public UserFriendlyException(string message, string code = null, string details = null, Exception innerException = null, LogLevel logLevel = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.String | code | |
System.String | details | |
Exception | innerException | |
LogLevel | logLevel |