A ChaiJs Plugin inspired by catch-exception for Java