mirror of
https://github.com/directus/directus.git
synced 2026-01-13 11:18:02 -05:00
* feat(sdk): add a message entry on api error to be catchable normally * feat(sdk): FetchInterface MUST return unknown to support alternative fetch implementations * feat(sdk): empty default error message to match js Error spec * Improve DirectusError type * add tests * account for non object reason in message * add non object reason test * simplify error message check * add changeset * Error result is not necessarily a directus error * Remove unnecessary errors existence check --------- Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>