Class ErrorEnvelope

java.lang.Object
app.l2nx.gs.adapter.core.connect.ErrorEnvelope

public final class ErrorEnvelope extends Object
Platform-side error response body — Gson-deserialized from 4xx / 5xx responses.

Wire shape: {"code": "...", "message": "..."}. Either field may be null when the platform returns a body that doesn't match the envelope (e.g. a generic 5xx HTML page or empty body).

  • Constructor Details

    • ErrorEnvelope

      public ErrorEnvelope(String code, String message)
  • Method Details

    • getCode

      public String getCode()
    • getMessage

      public String getMessage()