Your task is simple: Write a program that can be run in two languages. It should be a normal quine (prints its own source code) in language 1, and should be an error quine (generates an error message identical to its own source code) in language 2.
This is code-golf, so the shortest valid submission (in bytes) wins.
- The languages may be arbitrarily similar. Supersets/similar versions/similar dialects are not disallowed.
- The error quine rules are the same as those in Make an Error Quine!.