def METHOD_NAME():
    # check default value
    err = ApiInaccessibleError()
    assert str(err).startswith("API is inaccessible")
    assert isinstance(err, Exception)
    # check custom
    msg = "foo"
    err = ApiInaccessibleError(msg)
    assert str(err) == msg