Allow using IterableTransformer on arrays
Add error codes to categorize failures