GithubHelp home page GithubHelp logo

Reject with error about axios HOT 9 CLOSED

OliverJAsh avatar OliverJAsh commented on April 20, 2024 3
Reject with error

from axios.

Comments (9)

helmus avatar helmus commented on April 20, 2024 6

πŸ‘ Please raise the priority on this. This is not a feature, it's a bug.

from axios.

jtmarmon avatar jtmarmon commented on April 20, 2024

+1 would love to be able to use this in tests

from axios.

jtmarmon avatar jtmarmon commented on April 20, 2024

see #32

from axios.

kilianc avatar kilianc commented on April 20, 2024

+1 on this, I was just about to open a new issue, throwing non errors is wrong, and if you async or yield axios that's exactly what happens.

This is for some reason not part of the promises specification, and it's a flaw imho.

from axios.

trueter avatar trueter commented on April 20, 2024

+1

from axios.

naw avatar naw commented on April 20, 2024

It's possible to address this without breaking backward compatibility simply by making it configurable with a default that uses the current (legacy) behavior. Then, for a major release, you can simply change the default from the legacy behavior to the new behavior.

from axios.

kilianc avatar kilianc commented on April 20, 2024

@naw this is a bug fix not a feature change. It may make sense to be more conservative and bump minor. I hope the old behavior just goes away

from axios.

axross avatar axross commented on April 20, 2024

πŸ‘

from axios.

trueter avatar trueter commented on April 20, 2024

Its been a month, can we please have this?

from axios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.