question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow specifying a marshallable value in custom ExceptionHandler

See original GitHub issue

https://sangria-graphql.org/learn/#custom-exceptionhandler

I’d like to be able to pass in a Circe Json instead of a Map[String, ResultMarshaller.Node].

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
macalinaocommented, Aug 8, 2018

Nvm, I am just changing my code to use JsonObject instead. Thanks!

0reactions
macalinaocommented, Aug 8, 2018

The function was found 😄

Is there an easy way for me to convert to a Map, because now I am getting this error:

[error]  found   : _1.m.Node where val _1: sangria.marshalling.MarshallingUtil.ResultMarshallerOps
[error]  required: Map[String,sangria.marshalling.ResultMarshaller#Node]
Read more comments on GitHub >

github_iconTop Results From Across the Web

Get Started with Custom Error Handling in Spring Boot (Java)
Learn how to implement custom error handling logic in Spring Boot. You will see two approaches based on the @ControllerAdvice annotation.
Read more >
Handle errors in ASP.NET Core | Microsoft Learn
An alternative to a custom exception handler page is to provide a lambda to UseExceptionHandler. Using a lambda allows access to the error ......
Read more >
Exception Handling in Spring MVC
Exception handling methods // Convert a predefined exception to an HTTP Status code @ResponseStatus(value=HttpStatus.
Read more >
Custom Error Handling in REST Controllers with Spring Boot
A practical guide to error handling in Spring Boot for REST controllers. It covers from basic scenarios to more advanced concepts.
Read more >
Complete Guide to Exception Handling in Spring Boot
This article showcases various ways to handle exceptions in a Spring Boot Application.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found