pub struct AnswerError {
pub error: String,
pub guid: String,
pub error_message_prefix: String,
}
Expand description
TTS sends all error messages in a AnswerError
response.
§Example
{
"message_id": 3,
"error": "chunk_0:(36,4-8): unexpected symbol near 'deck'",
"guid": "-1",
"errorMessagePrefix": "Error in Global Script: "
}
Fields§
§error: String
Description of the error
guid: String
Guid of the object that has the error
error_message_prefix: String
Description of the error
Trait Implementations§
Source§impl Debug for AnswerError
impl Debug for AnswerError
Source§impl<'de> Deserialize<'de> for AnswerError
impl<'de> Deserialize<'de> for AnswerError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AnswerError
impl RefUnwindSafe for AnswerError
impl Send for AnswerError
impl Sync for AnswerError
impl Unpin for AnswerError
impl UnwindSafe for AnswerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more