Implement a function that multiplies two binary strings and returns the product in decimal form.
Functionality:
You need to create a function named multiply_binary_strings which takes two binary strings as input and returns their product as an integer in decimal form.
Input Requirements:
The function should accept two parameters:
A (str): A string representing a binary number (e.g., "101", "1111").
B (str): Another string representing a binary number (e.g., "10", "110").
Output Requirements:
The function should return:
An integer representing the product of the two binary numbers converted from binary to decimal.
Implementation:
The solution must be implemented in a file named /app/solution.py.
Ensure to include error handling for invalid binary strings, returning 0 if the conversion fails.
Example:
For A = "110" and B = "101", the function should return 30, since 6 * 5 = 30 (where 110 in binary is 6 in decimal and 101 is 5 in decimal).