Struct aws_sdk_appsync::model::CodeError
source · #[non_exhaustive]pub struct CodeError { /* private fields */ }
Expand description
Describes an AppSync error.
Implementations§
source§impl CodeError
impl CodeError
sourcepub fn error_type(&self) -> Option<&str>
pub fn error_type(&self) -> Option<&str>
The type of code error.
Examples include, but aren't limited to: LINT_ERROR
, PARSER_ERROR
.
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
A user presentable error.
Examples include, but aren't limited to: Parsing error: Unterminated string literal
.
sourcepub fn location(&self) -> Option<&CodeErrorLocation>
pub fn location(&self) -> Option<&CodeErrorLocation>
The line, column, and span location of the error in the code.