<s> from __future__ import absolute_import <EOL> from __future__ import division <EOL> from __future__ import print_function <EOL> from . server_message import ServerMessage <EOL> __all__ = [ '<STR_LIT>' ] <EOL> class ErrorMessage ( ServerMessage ) : <EOL> def __init__ ( self , reason , offending_pod ) : <EOL> super ( ErrorMessage , self ) . __init__ ( ) <EOL> self . _reason = reason <EOL> self . _offending_pod = offending_pod <EOL> def __eq__ ( self , other ) : <EOL> if isinstance ( other , ErrorMessage ) : <EOL> return ( self . _reason == other . _reason <EOL> and self . _offending_pod == other . _offending_pod ) <EOL> return super ( ErrorMessage , self ) . __eq__ ( other ) <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' . format ( <EOL> self . _reason , <EOL> self . _offending_pod ) <EOL> @ property <EOL> def reason ( self ) : <EOL> return self . _reason <EOL> @ property <EOL> def offending_pod ( self ) : <EOL> return self . _offending_pod </s>
