ADD: send various error message to the browser