added new error code
#111 - returning string code as default now, not using sendError