Within the law, it is the intentional deception with the intent to deprive another of a legal right, usually property. The deception might not result in any loss yet is still illegal.
Different countries have their own laws regarding fraud and how it is handled.