Class RemoteServiceExceptionHandler
Inheritance
object
RemoteServiceExceptionHandler
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.ProjectBuilding
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class RemoteServiceExceptionHandler : IRemoteServiceExceptionHandler, ITransientDependency
Constructors
RemoteServiceExceptionHandler(IJsonSerializer)
Declaration
public RemoteServiceExceptionHandler(IJsonSerializer jsonSerializer)
Parameters
| Type | Name | Description |
|---|---|---|
| IJsonSerializer | jsonSerializer |
Methods
EnsureSuccessfulHttpResponseAsync(HttpResponseMessage)
Declaration
public Task EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.Http.HttpResponseMessage | responseMessage |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
GetAbpRemoteServiceErrorAsync(HttpResponseMessage)
Declaration
public Task<string> GetAbpRemoteServiceErrorAsync(HttpResponseMessage responseMessage)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Net.Http.HttpResponseMessage | responseMessage |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><string> |