Skip to content

Easily get HTTP Error status of gophercloud errors #1632

@snigle

Description

@snigle

Hello, in some case I want to redirect the status code of openstack to my API directly.
I don't want to maintains the enormous switch case with all errors types.
I would like a generic error with the http code. It's almost already implemented but I need an interface to cast to the generic error.

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