Currently, error about data type, e.g. `expected type array, found string` cannot be customized. It should be the case.