code: public static GraknConceptException invalidCasting(Object concept, Class type) {
          return GraknConceptException.create(ErrorMessage.INVALID_OBJECT_TYPE.getMessage(concept, type));
      }
docs: Thrown when casting Grakn concepts/answers incorrectly.