The constructor for generic Gobstones errors.
A string describing the type of problem to be used in the problem message.
A string indicating which of the entries of the Locale of the component to use. Its value is expected to correspond to one of its keys (using hierarchical notation).
A record indicating values for interpolations used in the value associated with
the key
given.
It may be undefined if there are none, in which case the empty record is used.
In the process of compiling a program there may be two kind of problems: errors, that abort the execution of the compilation, and warnings, that do not. GProblem is an abstract class to represent these two kinds of problems.