mirror of https://github.com/abpframework/abp.git
6 changed files with 69 additions and 5 deletions
@ -0,0 +1,28 @@ |
|||
using System; |
|||
using System.Runtime.Serialization; |
|||
|
|||
namespace Volo.Abp.Http.Client |
|||
{ |
|||
[Serializable] |
|||
public class AbpRemoteCallException : AbpException |
|||
{ |
|||
public RemoteServiceErrorInfo Error { get; set; } |
|||
|
|||
public AbpRemoteCallException() |
|||
{ |
|||
|
|||
} |
|||
|
|||
public AbpRemoteCallException(SerializationInfo serializationInfo, StreamingContext context) |
|||
: base(serializationInfo, context) |
|||
{ |
|||
|
|||
} |
|||
|
|||
public AbpRemoteCallException(RemoteServiceErrorInfo error) |
|||
: base(error.Message) |
|||
{ |
|||
Error = error; |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue