Added context to identify errors

User is now able to send a context value to identify the error (a user
id or session for example)