package Ġcom . primer i ore act native . utils Ċ Ċ import Ġcom . primer i ore act native . data models . ErrorType RN Ċ import Ġcom . primer i ore act native . data models . Pri mer Error RN Ċ Ċ infix Ġfun ĠError Type RN . error To ( message : ĠString ) Ġ= ĠPri mer Error RN ( ĊĠ ĠError Type RN . Checkout Flow Failed . name , ĊĠ Ġmessage Ċ ) Ċ Ċ fun ĠPri mer Error RN . as Error () Ġ= ĠError ("${ this . error Id }: Ġ${ this . error Description }") Ċ