Skip to content

Commit

Permalink
Update specs and added AccessError.
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiming Yuan committed Nov 10, 2016
1 parent b35f15d commit da65db3
Show file tree
Hide file tree
Showing 57 changed files with 11,139 additions and 92 deletions.
25 changes: 25 additions & 0 deletions Dropbox.Api/AccessException.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// <auto-generated>
// Auto-generated by StoneAPI, do not modify.
// </auto-generated>

namespace Dropbox.Api
{
using sys = System;

using Dropbox.Api.Auth;

/// <summary>
/// <para>An HTTP exception that is caused by the account notnot having access to the
/// endpoint.</para>
/// </summary>
public sealed partial class AccessException : StructuredException<AccessError>
{
/// <summary>
/// <para>Decode from given json.</para>
/// </summary>
internal static AccessException Decode(string json, sys.Func<AccessException> exceptionFunc)
{
return StructuredException<AccessError>.Decode<AccessException>(json, AccessError.Decoder, exceptionFunc);
}
}
}
Loading

0 comments on commit da65db3

Please sign in to comment.