Title: Operation validation errors don't get reported to client properly · Issue #101 · hyperstack-org/hyperstack · GitHub
Open Graph Title: Operation validation errors don't get reported to client properly · Issue #101 · hyperstack-org/hyperstack
X Title: Operation validation errors don't get reported to client properly · Issue #101 · hyperstack-org/hyperstack
Description: 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. Mo...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/101
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Operation validation errors don't get reported to client properly","articleBody":"reported by @psmir \r\n\r\nWhen 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.\r\nIs 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 ?","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2019-01-10T14:33:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/101/hyperstack/issues/101"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d2bf1b3e-27d2-eb85-bc48-27d511bc64c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ECC2:21F095:2599F6:311DF0:69920BDF |
| html-safe-nonce | cd3febfe3838a0d3a60211dcfacfe8722a0ba113337182b171c24f7b2f4c072c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0MyOjIxRjA5NToyNTk5RjY6MzExREYwOjY5OTIwQkRGIiwidmlzaXRvcl9pZCI6IjU0MTA4MjY2MDU0MTU5MzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d3ddc4659c263da77f0cef03b6284aae53a6686cf14d8fcf3c4c8e279d5a8a67 |
| hovercard-subject-tag | issue:397857530 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperstack-org/hyperstack/101/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0341ea5a663ab075e233227d020b519a2056e98f8574219be4610be58e435418/hyperstack-org/hyperstack/issues/101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0341ea5a663ab075e233227d020b519a2056e98f8574219be4610be58e435418/hyperstack-org/hyperstack/issues/101 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width