Package org.angular.ts.ng
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 TypeMethodDescriptionstatic ErrorFormattingConfigcreate()doubleThe max depth for stringifying objects.voidsetObjectMaxDepth(double objectMaxDepth) The max depth for stringifying objects.
-
Method Details
-
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.
-