Function spdx::exception_id

source ·
pub fn exception_id(name: &str) -> Option<ExceptionId>
Expand description

Attempts to find an ExceptionId for the string

assert!(spdx::exception_id("LLVM-exception").is_some());