Formatting error
streamError definition

Updated streamError function to include errorCode in error object and
updated description accordingly.
Removed Object from paramter definition
Formatting error