-
-
Notifications
You must be signed in to change notification settings - Fork 85
Refactor Error Classes #176
Conversation
|
Thanks @jherdman! This all looks 👌 to me. I think we should make a |
|
Shouldn't this merge before 3.0? I believe the release target should be 2.6. If not, I may need to update the target version this deprecation will be removed. |
|
If it's a breaking change then it can't land before |
|
My apologies, you're correct. Before we merge this we ought to decide when we'll remove the |
|
@taras our snazzy fixup has been pushed! |
|
Fails look like rubbish. @taras are you able to kick the builds? |
|
@jherdman I don't think I can. Can you please push an empty commit with: |
|
Gah! AppVeyor is being a jerk. I'll investigate the fails today. |
|
I've been thinking lately that we should just drop AppVeyor. It's constantly slow and unstable, and we don't do anything that should be different with Broccoli that should be different between Windows and Linux. Every time I've seen a failure on there, it's just AppVeyor being a butt and not an actual Windows issue. |
|
@alexlafroscia yeah, totes. Especially if we're just building against Chrome on Windows. |
|
OK, so Ember 1.13 is failing consistently on AppVeyor. One fail, fine, two? Not so cool. Three: we've got a problem. I've managed to pooch something on my machine tonight, but I'll do my best to look into this soon. |
|
@jherdman yeah, that's weird. Gotta checkout in 1.13 and figure out why it's dying. You can do: |
Deprecates the AjaxError#errors property. Going forward we'll do much less with errors, and instead simply provide the payload from the server's error response. The payload will be accessible via the `#payload` property.
|
@alexlafroscia do you mind updating the 3.0 branch? There are some spurious commits in this. @taras so, the most recent commit fixes the fails for 1.13. It seems like 1.13 always raises on deprecation. I thought about detecting 1.13 and telling it not to throw, but that seemed more complicated than actually fixing some tests now. Thoughts? |
|
CI is ruining me... |
|
Ping @alexlafroscia @taras . If y'all are happy, I'll squash this down and push it back up. |
|
No worries, merged :) |
|
💃 |
|
Thank you for helping us push this through :) |
This breaking change accomplishes a few things:
less with errors, and instead simply provide the payload from the
server's error response. The payload will be accessible via the
#payload property.
potentially a breaking change as we no longer inherit from
Ember.Error.
Closes #175