add option - onerror; release v0.0.6