Fix type on ResourceTypeError.
Release 0.23.1