Constant ERROR_MESSAGE

pub const ERROR_MESSAGE: &'static str;
Expand description

A message providing more detail about an error in human-readable form.

§Notes

error.message should provide additional context and detail about an error. It is NOT RECOMMENDED to duplicate the value of error.type in error.message. It is also NOT RECOMMENDED to duplicate the value of exception.message in error.message.

error.message is NOT RECOMMENDED for metrics or spans due to its unbounded cardinality and overlap with span status.

§Examples

  • "Unexpected input type: string"
  • "The user has exceeded their storage quota"