Edit this page

up.Request up.Request.prototype.failLayer

This feature is experimental. It may be changed or removed in a future version.

The layer targeted by this request in case the server responds with an error code.

Setting the { failLayer } property will automatically derive { failContext } and { failMode } properties.

To prevent memory leaks, this property is removed shortly after the response is received.


layer up.Layer