Skip to content

std::Panic::Frame::reason

reason

Returns the reason for the panic

Signature

reason(self) -> string

Specifiers

  • const

Attributes

  • nodiscard

See Also

Back to Frame