Skip to main content
Deno 2 is finally here 🎉️
Learn more
class ItemEventCallbacks
import { ItemEventCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.ts";

Constructors

new
ItemEventCallbacks(httpResponse: HttpResponseUtil, itemEventRouter: ItemEventRouter)

Properties

private
isCriticalError

Return true if the passed in list of warnings contains critical issues

protected
httpResponse: HttpResponseUtil
protected
itemEventRouter: ItemEventRouter

Methods

protected
getErrorCode(warnings: Warning[]): number