mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04: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>
3.0 KiB
3.0 KiB