Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • pubsweet-client pubsweet-client
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • pubsweet
  • pubsweet-clientpubsweet-client
  • Merge requests
  • !59

Open
Created Jul 06, 2017 by Alf Eaton@alfContributor
  • Report abuse
Report abuse

WIP: Attach the API response to the thrown error

  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

This allows an error handler to access the whole response, e.g. to get the status code or to parse the response body as JSON.

WIP as I need to check the existing error handlers to see if any of them are accessing the current error.response property.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: api-error-response