Error Handling Learning Mode

What is the difference between trigger_error() and user_error()?