mruby: add convenience method to handler error