Throw error if loaded in non-development/test env.