#include <common/channel_id.h>
#include <common/per_peer_state.h>

# An error occurred: if error_for_them, that to go to them.
msgtype,status_peer_error,0xFFF4
# Do we force a disconnect from the peer?
msgdata,status_peer_error,disconnect,bool,
# The error string
msgdata,status_peer_error,desc,wirestring,
# Actually a warning, not a (fatal!) error.
msgdata,status_peer_error,warning,bool,
# The error to send to them in future if they try to talk to us about
# this channel.
msgdata,status_peer_error,len,u16,
msgdata,status_peer_error,error_for_them,u8,len
