Skip to content

Create and Implement Validate trait for all entities #5

@Shadow53

Description

@Shadow53

Validate checks that all information containing within the struct is valid and consistent. May involve calling validate() on members

pub trait Validate {
    fn validate0(&self) -> Result<(), Error>;
}

... where Error is the custom error type being used (probably nebula_error::Error).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttavern_pathfinderThis issue or pull request relates to the pathfinder library

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions