Currently there is no way to put application defined errors in a response, even when an application died with {error => ..., message => ...} hashref. Also there is currently no way to omit data field in error object ("data ... This may be omitted.").