throw Error only for developers errors