You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently got invalid json response then throw Exception.
But I don't want type try{}catch... each method when using Mastodon APIs.
So should change that make user check valid instance or null?
var status = await client.PostNewStatus(null);
if (status == null)
{
// do error handling
}
else
{
// do something with status
}
The text was updated successfully, but these errors were encountered:
Currently got invalid json response then throw Exception.
But I don't want type try{}catch... each method when using Mastodon APIs.
So should change that make user check valid instance or null?
The text was updated successfully, but these errors were encountered: