Class Err

java.lang.Object
com.mastfrog.acteur.errors.Err
All Implemented Interfaces:
ErrorResponse

public final class Err extends Object implements ErrorResponse
Convenience implementation of ErrorResponse backed by a map, with constructors for various common scenarios.
Author:
Tim Boudreau
  • Field Details

    • status

      public final io.netty.handler.codec.http.HttpResponseStatus status
    • message

      public final Map<String,Object> message
    • unhandled

      public boolean unhandled
  • Constructor Details

    • Err

      public Err(Throwable t, boolean unhandled)
    • Err

      public Err(Throwable t)
    • Err

      public Err(String message)
    • Err

      public Err(io.netty.handler.codec.http.HttpResponseStatus code, String message)
    • Err

      public Err(io.netty.handler.codec.http.HttpResponseStatus code, Map<String,Object> message)
  • Method Details