( data )
| 328 | |
| 329 | |
| 330 | def MakeServerException( data ): |
| 331 | _logger.debug( 'Server exception: %s', data ) |
| 332 | if data[ 'exception' ][ 'TYPE' ] == UnknownExtraConf.__name__: |
| 333 | return UnknownExtraConf( data[ 'exception' ][ 'extra_conf_file' ] ) |
| 334 | |
| 335 | return ServerError( f'{ data[ "exception" ][ "TYPE" ] }: ' |
| 336 | f'{ data[ "message" ] }' ) |
no outgoing calls
no test coverage detected