new onError structure, added needs.headers for header formatting and needs.format for plain object formatting
new onError structure, added needs.headers for header formatting and needs.format for plain object formatting

miketerpak/needs-params