Builds an IndeterminateError with the syntax-error status.
IndeterminateError
the error message
an optional detail value
the error, to be thrown by the caller
Builds an
IndeterminateErrorwith the syntax-error status.