pub fn not_subscriptable() -> Self {
        SemanticError {
            kind: ErrorKind::NotSubscriptable,
            context: vec![],
        }
    }
/// Create a new error with kind `NotSubscriptable`
Create a new error with kind `NotSubscriptable`
Create a new error with kind ` NotSubscriptable `
pub fn not_subscriptable() -> Self {
        SemanticError {
            kind: ErrorKind::NotSubscriptable,
            context: vec![],
        }
    }
pub fn not_subscriptable ( ) -> Self { SemanticError { kind : ErrorKind :: NotSubscriptable , context : vec ! [ ] , } }
Create a new error with kind `NotSubscriptable`
Create a new error with kind ` NotSubscriptable `