[#17] Client: Add extra parameter
API methods' parameters types with optional session, polling settings, xHeaders etc. and corresponding handlers have been added Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
00a1e9412f
commit
7b9c19f37c
42 changed files with 1054 additions and 386 deletions
12
src/FrostFS.SDK.ClientV2/Exceptions/ResponseException.cs
Normal file
12
src/FrostFS.SDK.ClientV2/Exceptions/ResponseException.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using FrostFS.SDK.ModelsV2;
|
||||
|
||||
public class ResponseException : Exception
|
||||
{
|
||||
public Status Status { get; set; }
|
||||
|
||||
public ResponseException(Status status) : base()
|
||||
{
|
||||
Status = status;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue