Use ErrorOverlayLayout in Errors component (#74107)
This PR modified the `Errors` (Runtime Error component) to use the shared `ErrorOverlayLayout`.
