/**
 * Lifecycle Error
 */ export class LifecycleError extends Error { public static SYNC_HANDLER_ARG_MISMATCH : string = "When and After handlers must accept 0 or 1 arguments" ; public static LATE_HANDLER_ERROR_MESSAGE : string = "Handler added late and will never fire" ; param message constructor ( message ) { super ( ) ; this . name = "LifecycleError" ; this . message = message ; } }