We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when making butter.page.retrieve it is expected that error will have status code.
butter.page.retrieve
error
const fn = async () => { try { await butter.page.retrieve(type, slug, params); } catch (error) {}
Actual result: error type is string which is error message Expected result: error.response.status is defined
error.response.status
The text was updated successfully, but these errors were encountered:
Hello @AlyonaSidarenka, please take a look at the PR issued #94 and see if this meets your needs.
Thank you!
Sorry, something went wrong.
Hey, @courcelan, yes, this should fix the issue.
@AlyonaSidarenka This fix has been merged in :)
No branches or pull requests
when making
butter.page.retrieve
it is expected thaterror
will have status code.Actual result:
error
type is string which is error messageExpected result:
error.response.status
is definedThe text was updated successfully, but these errors were encountered: