Errors: Improved emulation or arrays in object errors.

Implement _sizeof(), _indices() and _values() in the generic error class.

Fixes "Index 2 is out of range 0..1." from describe_backtrace().