Skip to content

Throw a more useful error if LoadedTrnsysLib can't find TRNSYS lib files #85

@dyreby

Description

@dyreby

Right now we let ctypes throw an OSError if anything goes wrong loading the TRNSYS api lib file, but this also includes trying to load the file from a directory that doesn't contain it. We should check that the file exists and throw a custom error if an incorrect trnsys_dir was provided.

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