improve cast error message

    "cannot cast expression %s from %s to %s"

I suggest to add the word "type" there:

    "cannot cast expression %s from type %s to %s"