Class ServerError

  • All Implemented Interfaces:

    
    public final class ServerError
    extends AdFetchError
                        

    Error class representing server-side error responses.

    This error occurs when the ad server returns an error response with additional diagnostic information. The payload provides detailed error context for debugging and telemetry purposes.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Map<String, Object> getPayload()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServerError

        ServerError(Map<String, Object> payload)
        Parameters:
        payload - Mutable map containing server error details and diagnostic information