[engine] Add initial ErrnoException implementation