use ember error object correctly