anchor.diff:  err_registration_required() ->
       err(auth, 'registration-required', 407).
   
  --spec err_registration_required(binary(), binary()) -> stanza_error().
  +-spec err_registration_required(reason_text(), lang()) -> stanza_error().
   err_registration_required(Text, Lang) ->
       err(auth, 'registration-required', 407, Text, Lang).
   
  
positive.code: serr_unsupported_stanza_type() ->
      serr('unsupported-stanza-type').
  
  -spec serr_unsupported_stanza_type(binary(), binary()) -> stream_error().
  serr_unsupported_stanza_type(Text, Lang) ->
      serr('unsupported-stanza-type', Text, Lang).
  
  
negative.code: err_not_authorized() ->
      err(auth, 'not-authorized', 401).
  
  -spec err_not_authorized(reason_text(), lang()) -> stanza_error().
  err_not_authorized(Text, Lang) ->
      err(auth, 'not-authorized', 401, Text, Lang).
  
  