Skip to content

How to read error message? #263

@sebit-dogancoruh

Description

@sebit-dogancoruh

I am trying to read error message but all client functions return blob object type for errors.
There is an asynchronous way to read it by error.text().then((message) => { bla bla... } but i want to read it directly because there is no chance to write error handling code in another async function for awaiting it in my project. Is there a property that i don't know or a simple way to read it synchronously?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions