You need to sign in to do that
Don't have an account?
Nishmitha Brinda
where ApexPages. severity is the enum that is determines how severe a message is, summary is the String used to summarize the message, and detail is the String used to provide more detailed information about the error.
Nishmitha Brinda
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/apex_pages_message.htm#apexpages_severity_enum