Skip to content

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Feb 19, 2019

What does this PR do?

Adds a KuzzleError that extends Error class.
The KuzzleError contains additional properties sent by Kuzzle: status and stack.

@Aschen Aschen self-assigned this Feb 19, 2019
@codecov-io
Copy link

codecov-io commented Feb 19, 2019

Codecov Report

Merging #375 into 6-dev will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##            6-dev     #375      +/-   ##
==========================================
+ Coverage   96.71%   96.71%   +<.01%     
==========================================
  Files          29       30       +1     
  Lines        1429     1431       +2     
==========================================
+ Hits         1382     1384       +2     
  Misses         47       47
Impacted Files Coverage Δ
src/KuzzleError.js 100% <100%> (ø)
src/protocols/abstract/common.js 91.42% <100%> (-0.47%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5898461...f548e93. Read the comment docs.

@etrousset etrousset merged commit 08a8aff into 6-dev Feb 19, 2019
@etrousset etrousset deleted the KZL-1001/proper-kuzzle-error branch February 19, 2019 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants