pub struct Builder { /* private fields */ }
Expand description
A builder for InvalidStructureException
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
The message provided to the user in the event of an exception.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The message provided to the user in the event of an exception.
sourcepub fn build(self) -> InvalidStructureException
pub fn build(self) -> InvalidStructureException
Consumes the builder and constructs a InvalidStructureException
.