Interface ErrorFormattingConfig


@JsType(isNative=true, name="ng.ErrorFormattingConfig", namespace="<global>") public interface ErrorFormattingConfig
Controls how values embedded in framework error messages are formatted.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
    The max depth for stringifying objects.
    void
    setObjectMaxDepth(double objectMaxDepth)
    The max depth for stringifying objects.
  • Method Details

    • create

      @JsOverlay static ErrorFormattingConfig create()
    • getObjectMaxDepth

      @JsProperty double getObjectMaxDepth()
      The max depth for stringifying objects. Setting to a non-positive or non-numeric value removes the max depth limit. Default: 5.
    • setObjectMaxDepth

      @JsProperty void setObjectMaxDepth(double objectMaxDepth)
      The max depth for stringifying objects. Setting to a non-positive or non-numeric value removes the max depth limit. Default: 5.