Struct aws_sdk_appsync::types::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.
Trait Implementations§
source§impl PartialEq<CodeError> for CodeError
impl PartialEq<CodeError> for CodeError
impl StructuralPartialEq for CodeError
Auto Trait Implementations§
impl RefUnwindSafe for CodeError
impl Send for CodeError
impl Sync for CodeError
impl Unpin for CodeError
impl UnwindSafe for CodeError
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