v0.3.0, onerror and debug

Signed-off-by: zensh <admin@zensh.com>