MCPcopy Create free account
hub / github.com/daisy/MathCAT / get_error

Method get_error

src/speech.rs:1978–1984  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

1976 }
1977
1978 pub fn get_error(&self) -> Option<&str> {
1979 return if self.error.is_empty() {
1980 None
1981 } else {
1982 Some(&self.error)
1983 }
1984 }
1985
1986 pub fn initialize_all_rules() -> Result<()> {
1987 // this forces initialization of things beyond just the speech rules (e.g, the defs.yaml files get read)

Callers 2

newMethod · 0.45
initialize_all_rulesMethod · 0.45

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected