Skip to content

Improve exception erroring #82

@coxley

Description

@coxley

This is what an exception for an attribute not existing when creating network looks like:

pynsot.vendor.slumber.exceptions.HttpClientError: Client Error 400: https://nsot.example.com/api/sites/4/networks/

That tells me nothing. You can catch the exception and inspect .response.json(), but this should be part of our client lib. We should create our own exception types.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions