human
Complete this python program:
def make_bpd_error(s_code, s_message):
assistant
#Here is the Python code you requested.

    """Create a BPDError subclass for a static code and message.
    """
    class NewBPDError(BPDError, ):
        code = s_code
        message = s_message
        cmd_name = ''
        index = 0
        def __init__(self):
            pass
    return NewBPDError