Raise errors for attach options