Skip to content

Reject with error instead of object #336

@ghost

Description

It would be nice if the promises rejected with an error and not with an object. Currently when I try to retrieve an object that is not present a 404 is thrown as an object which doesn't implement Error

https://github.com/kubernetes-client/javascript/blob/master/src/gen/api/customObjectsApi.ts#L151

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