Skip to content

expose all data in error frame #206

Description

@flying-sheep

For some reason line and file_name are not part of ErrorFrame:

pub line: c_uint,
pub func_name: *const c_char,
pub file_name: *const c_char,

Ok(ErrorFrame::new(&desc, &func, &major, &minor, major_code, minor_code))

and func is not publicly accessible without desc:

hdf5-rust/hdf5/src/error.rs

Lines 134 to 137 in f1d77ed

func: func.into(),
major: major.into(),
minor: minor.into(),
description: format!("{func}(): {desc}"),

please make all 3 available from ErrorFrame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions