Moved ResourceError to dedicated error directory