How to create custom Exception C#?

Difference between error and bug?