Skip to content

Commit da65db3

Browse files
author
Qiming Yuan
committed
Update specs and added AccessError.
1 parent b35f15d commit da65db3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+11139
-92
lines changed

Dropbox.Api/AccessException.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// <auto-generated>
2+
// Auto-generated by StoneAPI, do not modify.
3+
// </auto-generated>
4+
5+
namespace Dropbox.Api
6+
{
7+
using sys = System;
8+
9+
using Dropbox.Api.Auth;
10+
11+
/// <summary>
12+
/// <para>An HTTP exception that is caused by the account notnot having access to the
13+
/// endpoint.</para>
14+
/// </summary>
15+
public sealed partial class AccessException : StructuredException<AccessError>
16+
{
17+
/// <summary>
18+
/// <para>Decode from given json.</para>
19+
/// </summary>
20+
internal static AccessException Decode(string json, sys.Func<AccessException> exceptionFunc)
21+
{
22+
return StructuredException<AccessError>.Decode<AccessException>(json, AccessError.Decoder, exceptionFunc);
23+
}
24+
}
25+
}

0 commit comments

Comments
 (0)