MCPcopy Create free account
hub / github.com/Snapchat/Valdi / handleError

Method handleError

valdi/src/java/com/snap/valdi/ViewRef.kt:284–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282 var bitmap: BitmapHandler? = null
283
284 fun handleError() {
285 ValdiMarshaller.use {
286 it.pushUndefined()
287 callback.perform(it)
288 }
289 bitmap?.release()
290 }
291
292 val view = get() ?: return handleError()
293

Callers

nothing calls this directly

Calls 4

useMethod · 0.80
performMethod · 0.65
pushUndefinedMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected