lukepighetti / mastodon_dart

Unofficial 🐘 client written in 🎯
https://pub.dev/packages/mastodon_dart
MIT License
28 stars 8 forks source link

Add error entity? #26

Closed GroovinChip closed 4 years ago

GroovinChip commented 4 years ago

Related to #14

Is this needed? I've seen this error get printed in the console, I don't know that we need this as its own entity.

What do you think @lukepighetti

lukepighetti commented 4 years ago

We already have MastodonException, but there was a missing field which was added here (untested) https://github.com/lukepighetti/mastodon_dart/commit/b9678784a4f17bef45c0d0586d4a451b10673097 https://github.com/lukepighetti/mastodon_dart/commit/1749d026d4c038c3c312ee1f3f84706d27e7f188

mastodocs reference https://docs.joinmastodon.org/entities/error/