rxdogtag / com.uber.rxdogtag / RxDogTag
RxDogTag¶
class RxDogTag
RxDogTag is a mechanism to automatically detect RxJava observers with no error handling and wrap them in DogTagObservers that attempt to deduce the line number that subscribe() was called and surface that in the eventual thrown OnErrorNotImplementedException message.
To use, simply call [`#install`](install.md) or use#builder() to install with configuration. Note that this uses RxJavaPlugins’s onSubscribe hooks.
Types¶
| Name | Summary |
|---|---|
| Builder | class Builder |
| Configurer | interface ConfigurerConvenience interface to allow custom configurers to hook into a builder to add their own configurations as needed. |
Properties¶
| Name | Summary |
|---|---|
| STACK_ELEMENT_SOURCE_DELEGATE | static val STACK_ELEMENT_SOURCE_DELEGATE:String |
| STACK_ELEMENT_SOURCE_HEADER | static val STACK_ELEMENT_SOURCE_HEADER:String |
| STACK_ELEMENT_TRACE_HEADER | static val STACK_ELEMENT_TRACE_HEADER:String |
Functions¶
| Name | Summary |
|---|---|
| builder | static fun builder():RxDogTag.Builder! |
| install | static fun install():UnitInitializes RxDogTag with default [`Builder`](-builder/index.md) settings viaBuilder#install(). |
| reset | static fun reset():UnitResets RxDogTag by resetting custom onSubscribe hooks via RxJavaPlugins. Note that calling this calls the following methods with null values. |