How do we provide an error message to be shown when a user-defined exception is raised?

A string in parenthesis after the type of errorWe cannot define our own error message

A string in parenthesis after the type of error.