• Eric Myhre's avatar
    Add TypeName field to ErrWrongKind. · fe4aa0a8
    Eric Myhre authored
    In general, picking a consistent strategy with this error and sticking
    with it.  The strings were starting to accumulate too much ~stuff~,
    otherwise.
    
    It might not be a bad idea to upgrade the MethodName strings to a bunch
    of consts, but I don't think it will get any harder to do that in the
    future if we should so choose either, so, meh.
    Signed-off-by: default avatarEric Myhre <hash@exultant.us>
    fe4aa0a8
genCommon.go 7.99 KB