#NEWLINE# def __init__( self , vk_error_data ) : #NEWLINE# #INDENT# super ( VkAPIError , self ) . __init__ ( ) #NEWLINE# self . error_data = vk_error_data #NEWLINE# self . code = vk_error_data . get ( 'error_code' ) #NEWLINE# self . message = vk_error_data . get ( 'error_msg' ) #NEWLINE# self . request_params = self . get_pretty_request_params ( vk_error_data ) #NEWLINE# self . redirect_uri = vk_error_data . get ( 'redirect_uri' )