Skip to content
This repository was archived by the owner on Jan 17, 2020. It is now read-only.

Add argument to NotFound constructor which reflects the body of the response. #50

@beckyconning

Description

@beckyconning

/server/licenseInfo returns 404 with the following content

{ "status": "Not Found", "detail": { "message": "validation status error: LICENSE_INVALID" } }

but this seems not to be reflected in the returned QError https://github.com/slamdata/purescript-quasar/blob/master/src/Quasar/Error.purs#L30

if this is the case then its not currently possible to tell between the difference between the license being invalid and the version of quasar not supporting this endpoint (i.e. not advanced).

alternatively perhaps quasar should not be return 404 but rather some other code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions