Edit "thankyou-order-failed"

Hello, I would like to know if there is a way to edit the layout of the payment error message… in the event that a customer’s payment cannot be processed.