[LC] add "onError" to brisket