Error
// passing the error code to javascript