included custom errors if require_a parameters are missing