Show schema type in error message instead of ruby class