Skip to content

Operation validation errors don't get reported to client properly #101

Closed
@catmando

Description

@catmando

reported by @psmir

When client side validation fails my promise receives the convenient Hyperstack::Operation::ValidationException. But when server side validation fails it receives plain Exception and I can't get errors hash from it. Moreover the server responds with code 500.
Is it possible to make Hyperstack to raise Hyperstack::Operation::ValidationException on the client side when server validation fails and not to respond with code 500 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingready-to-releaseInternal Use Only: Has been fixed, specs passing and pushed to edge branch

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions