Skip to main content

resolved_error_report_path

Function resolved_error_report_path 

Source
pub fn resolved_error_report_path(
    app_id: Option<&str>,
    configured_path: Option<&Path>,
) -> Option<String>
Expand description

Resolves the configured error report path, restricting relative paths to the app root.

§Parameters

§Returns

Returns Some when crate::http::resolved_error_report_path can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::http::resolved_error_report_path.

§Examples

ⓘ
let _result = pharos_runtime_core::http::resolved_error_report_path(todo!(), todo!());
  • crate::http for adjacent helpers that share the same runtime surface.