magic-admin-js
magic-admin-js copied to clipboard
Improved service error details
✅ Prerequisites
- [x] Did you perform a cursory search of open issues? Is this feature already requested elsewhere?
- [x] Are you reporting to the correct repository (
@magic-sdk/admin
)?
✨ Feature Request
Improve error handling for external services. Currently, service errors manifest generically, but developers can benefit from more granular error types.
🧩 Context
None.
💻 Examples
None.
To expand on this, would it be possible to expose the MagicAdminSDKError
class so that we can do an instanceof
check when error handling?