function ErrorResult()

in src/components/ErrorDecoder/ErrorDecoder.js [65:88]


function ErrorResult(props: {|code: ?string, msg: string|}) {
  const code = props.code;
  const errorMsg = props.msg;

  if (!code) {
    return (
      <p>
        {`Bir hata ile karşılaştığınızda, söz konusu hata için bu sayfaya bir
        bağlantı alırsınız ve size tam hata metnini gösteririz.`}
      </p>
    );
  }

  return (
    <div>
      <p>
        <b>{`Az önce karşılaştığınız hatanın tam metni:`}</b>
      </p>
      <code>
        <b>{urlify(errorMsg)}</b>
      </code>
    </div>
  );
}